home *** CD-ROM | disk | FTP | other *** search
/ mail.altrad.com / 2015.02.mail.altrad.com.tar / mail.altrad.com / TEST / office german / PROPLUS.WW / PROPLSWW.CAB / CHICAGO.XSL < prev    next >
Extensible Markup Language  |  2006-09-17  |  359KB  |  9,868 lines

  1. <?xml version="1.0" ?>
  2.  
  3.  
  4. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:b="http://schemas.openxmlformats.org/officeDocument/2006/bibliography" xmlns:t="http://www.microsoft.com/temp">
  5.     <xsl:output method="html" encoding="us-ascii"/>
  6.     
  7.     
  8.     
  9.     <xsl:template match="*" mode="outputHtml2">
  10.             <xsl:apply-templates mode="outputHtml"/>        
  11.     </xsl:template>
  12.  
  13.     <xsl:template name="StringFormatDot">
  14.         <xsl:param name="format" />
  15.         <xsl:param name="parameters" />
  16.  
  17.     <xsl:variable name="prop_EndChars">
  18.       <xsl:call-template name="templ_prop_EndChars"/>
  19.     </xsl:variable>
  20.  
  21.     <xsl:choose>
  22.             <xsl:when test="$format = ''"></xsl:when>
  23.             <xsl:when test="substring($format, 1, 2) = '%%'">
  24.                 <xsl:text>%</xsl:text>
  25.                 <xsl:call-template name="StringFormatDot">
  26.                     <xsl:with-param name="format" select="substring($format, 3)" />
  27.                     <xsl:with-param name="parameters" select="$parameters" />
  28.                 </xsl:call-template>
  29.                 <xsl:if test="string-length($format)=2">
  30.                     <xsl:call-template name="templ_prop_Dot"/>
  31.                 </xsl:if>
  32.             </xsl:when>
  33.             <xsl:when test="substring($format, 1, 1) = '%'">
  34.                 <xsl:variable name="pos" select="substring($format, 2, 1)" />
  35.                 <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  36.                 <xsl:call-template name="StringFormatDot">
  37.                     <xsl:with-param name="format" select="substring($format, 3)" />
  38.                     <xsl:with-param name="parameters" select="$parameters" />
  39.                 </xsl:call-template>
  40.                 <xsl:if test="string-length($format)=2">
  41.                     <xsl:variable name="temp2">
  42.                         <xsl:call-template name="handleSpaces">
  43.                             <xsl:with-param name="field" select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]"/>
  44.                         </xsl:call-template>
  45.                     </xsl:variable>                
  46.                     <xsl:variable name="lastChar">
  47.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  48.                     </xsl:variable>
  49.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  50.                         <xsl:call-template name="templ_prop_Dot"/>
  51.                     </xsl:if>
  52.                 </xsl:if>
  53.             </xsl:when>
  54.             <xsl:otherwise>
  55.                 <xsl:value-of select="substring($format, 1, 1)" />
  56.                 <xsl:call-template name="StringFormatDot">
  57.                     <xsl:with-param name="format" select="substring($format, 2)" />
  58.                     <xsl:with-param name="parameters" select="$parameters" />
  59.                 </xsl:call-template>
  60.                 <xsl:if test="string-length($format)=1">
  61.                     <xsl:if test="not(contains($prop_EndChars, $format))">
  62.                         <xsl:call-template name="templ_prop_Dot"/>
  63.                     </xsl:if>
  64.                 </xsl:if>
  65.             </xsl:otherwise>
  66.         </xsl:choose>
  67.     </xsl:template>    
  68.  
  69.     <xsl:template name="StringFormat">
  70.         <xsl:param name="format" />
  71.         <xsl:param name="parameters" />
  72.         <xsl:choose>
  73.             <xsl:when test="$format = ''"></xsl:when>
  74.             <xsl:when test="substring($format, 1, 2) = '%%'">
  75.                 <xsl:text>%</xsl:text>
  76.                 <xsl:call-template name="StringFormat">
  77.                     <xsl:with-param name="format" select="substring($format, 3)" />
  78.                     <xsl:with-param name="parameters" select="$parameters" />
  79.                 </xsl:call-template>
  80.             </xsl:when>
  81.             <xsl:when test="substring($format, 1, 1) = '%'">
  82.                 <xsl:variable name="pos" select="substring($format, 2, 1)" />
  83.                 <xsl:apply-templates select="msxsl:node-set($parameters)/t:params/t:param[position() = $pos]" mode="outputHtml2"/>
  84.                 <xsl:call-template name="StringFormat">
  85.                     <xsl:with-param name="format" select="substring($format, 3)" />
  86.                     <xsl:with-param name="parameters" select="$parameters" />
  87.                 </xsl:call-template>
  88.             </xsl:when>
  89.             <xsl:otherwise>
  90.                 <xsl:value-of select="substring($format, 1, 1)" />
  91.                 <xsl:call-template name="StringFormat">
  92.                     <xsl:with-param name="format" select="substring($format, 2)" />
  93.                     <xsl:with-param name="parameters" select="$parameters" />
  94.                 </xsl:call-template>
  95.             </xsl:otherwise>
  96.         </xsl:choose>
  97.     </xsl:template>
  98.     
  99.  
  100.  
  101.     
  102.  
  103.  
  104.  
  105.  
  106.   <xsl:template name="localLCID">
  107.     <xsl:param name="LCID"/>
  108.  
  109.     <xsl:variable name="_LCID1">
  110.       <xsl:choose>
  111.         <xsl:when test="$LCID!='0' and $LCID!=''">
  112.           <xsl:value-of select="$LCID"/>
  113.         </xsl:when>
  114.         <xsl:when test="/b:Citation">
  115.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  116.         </xsl:when>
  117.         <xsl:when test="b:LCID">
  118.           <xsl:value-of select="b:LCID"/>
  119.         </xsl:when>
  120.         <xsl:when test="../b:LCID">
  121.           <xsl:value-of select="../b:LCID"/>
  122.         </xsl:when>
  123.         <xsl:when test="../../b:LCID">
  124.           <xsl:value-of select="../../b:LCID"/>
  125.         </xsl:when>
  126.         <xsl:when test="../../../b:LCID">
  127.           <xsl:value-of select="../../../b:LCID"/>
  128.         </xsl:when>
  129.         <xsl:when test="../../../../b:LCID">
  130.           <xsl:value-of select="../../../../b:LCID"/>
  131.         </xsl:when>
  132.         <xsl:when test="../../../../b:LCID">
  133.           <xsl:value-of select="../../../../b:LCID"/>
  134.         </xsl:when>
  135.         <xsl:when test="../../../../../b:LCID">
  136.           <xsl:value-of select="../../../../../b:LCID"/>
  137.         </xsl:when>
  138.         <xsl:otherwise>
  139.           <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  140.         </xsl:otherwise>
  141.       </xsl:choose>
  142.     </xsl:variable>
  143.  
  144.     <xsl:choose>
  145.       <xsl:when test="$_LCID1!='0' and string-length($_LCID1)>0">
  146.         <xsl:value-of select="$_LCID1"/>
  147.       </xsl:when>
  148.       <xsl:otherwise>
  149.         <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  150.       </xsl:otherwise>
  151.     </xsl:choose>
  152.  
  153.   </xsl:template>
  154.  
  155.   
  156.   <xsl:template name="templ_prop_NoItalics" >
  157.     <xsl:param name="LCID" />
  158.     <xsl:variable name="_LCID">
  159.       <xsl:call-template name="localLCID">
  160.         <xsl:with-param name="LCID" select="$LCID"/>
  161.       </xsl:call-template>
  162.     </xsl:variable>
  163.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NoItalics"/>
  164.   </xsl:template>
  165.  
  166.   
  167.   <xsl:template name="templ_prop_TitleOpen" >
  168.     <xsl:param name="LCID" />
  169.     <xsl:variable name="_LCID">
  170.       <xsl:call-template name="localLCID">
  171.         <xsl:with-param name="LCID" select="$LCID"/>
  172.       </xsl:call-template>
  173.     </xsl:variable>
  174.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:TitleOpen"/>
  175.   </xsl:template>
  176.  
  177.   
  178.   <xsl:template name="templ_prop_TitleClose" >
  179.     <xsl:param name="LCID" />
  180.     <xsl:variable name="_LCID">
  181.       <xsl:call-template name="localLCID">
  182.         <xsl:with-param name="LCID" select="$LCID"/>
  183.       </xsl:call-template>
  184.     </xsl:variable>
  185.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:TitleClose"/>
  186.   </xsl:template>  
  187.  
  188.   
  189.   <xsl:template name="templ_prop_MLA_CitationLong_FML" >
  190.     <xsl:param name="LCID" />
  191.     <xsl:variable name="_LCID">
  192.       <xsl:call-template name="localLCID">
  193.         <xsl:with-param name="LCID" select="$LCID"/>
  194.       </xsl:call-template>
  195.     </xsl:variable>
  196.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FML"/>
  197.   </xsl:template>
  198.  
  199.   
  200.   <xsl:template name="templ_prop_MLA_CitationLong_FM" >
  201.     <xsl:param name="LCID" />
  202.     <xsl:variable name="_LCID">
  203.       <xsl:call-template name="localLCID">
  204.         <xsl:with-param name="LCID" select="$LCID"/>
  205.       </xsl:call-template>
  206.     </xsl:variable>
  207.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FM"/>
  208.   </xsl:template>
  209.  
  210.   
  211.   <xsl:template name="templ_prop_MLA_CitationLong_ML" >
  212.     <xsl:param name="LCID" />
  213.     <xsl:variable name="_LCID">
  214.       <xsl:call-template name="localLCID">
  215.         <xsl:with-param name="LCID" select="$LCID"/>
  216.       </xsl:call-template>
  217.     </xsl:variable>
  218.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:ML"/>
  219.   </xsl:template>
  220.  
  221.   
  222.   <xsl:template name="templ_prop_MLA_CitationLong_FL" >
  223.     <xsl:param name="LCID" />
  224.     <xsl:variable name="_LCID">
  225.       <xsl:call-template name="localLCID">
  226.         <xsl:with-param name="LCID" select="$LCID"/>
  227.       </xsl:call-template>
  228.     </xsl:variable>
  229.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationLong/b:FL"/>
  230.   </xsl:template>
  231.  
  232.   
  233.   <xsl:template name="templ_prop_MLA_CitationShort_FML" >
  234.     <xsl:param name="LCID" />
  235.     <xsl:variable name="_LCID">
  236.       <xsl:call-template name="localLCID">
  237.         <xsl:with-param name="LCID" select="$LCID"/>
  238.       </xsl:call-template>
  239.     </xsl:variable>
  240.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FML"/>
  241.   </xsl:template>
  242.  
  243.   
  244.   <xsl:template name="templ_prop_MLA_CitationShort_FM" >
  245.     <xsl:param name="LCID" />
  246.     <xsl:variable name="_LCID">
  247.       <xsl:call-template name="localLCID">
  248.         <xsl:with-param name="LCID" select="$LCID"/>
  249.       </xsl:call-template>
  250.     </xsl:variable>
  251.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FM"/>
  252.   </xsl:template>
  253.  
  254.   
  255.   <xsl:template name="templ_prop_MLA_CitationShort_ML" >
  256.     <xsl:param name="LCID" />
  257.     <xsl:variable name="_LCID">
  258.       <xsl:call-template name="localLCID">
  259.         <xsl:with-param name="LCID" select="$LCID"/>
  260.       </xsl:call-template>
  261.     </xsl:variable>
  262.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:ML"/>
  263.   </xsl:template>
  264.  
  265.   
  266.   <xsl:template name="templ_prop_MLA_CitationShort_FL" >
  267.     <xsl:param name="LCID" />
  268.     <xsl:variable name="_LCID">
  269.       <xsl:call-template name="localLCID">
  270.         <xsl:with-param name="LCID" select="$LCID"/>
  271.       </xsl:call-template>
  272.     </xsl:variable>
  273.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:CitationShort/b:FL"/>
  274.   </xsl:template>
  275.  
  276.   
  277.   <xsl:template name="templ_prop_APA_CitationLong_FML" >
  278.     <xsl:param name="LCID" />
  279.     <xsl:variable name="_LCID">
  280.       <xsl:call-template name="localLCID">
  281.         <xsl:with-param name="LCID" select="$LCID"/>
  282.       </xsl:call-template>
  283.     </xsl:variable>
  284.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FML"/>
  285.   </xsl:template>
  286.  
  287.   
  288.   <xsl:template name="templ_prop_APA_CitationLong_FM" >
  289.     <xsl:param name="LCID" />
  290.     <xsl:variable name="_LCID">
  291.       <xsl:call-template name="localLCID">
  292.         <xsl:with-param name="LCID" select="$LCID"/>
  293.       </xsl:call-template>
  294.     </xsl:variable>
  295.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FM"/>
  296.   </xsl:template>
  297.  
  298.   
  299.   <xsl:template name="templ_prop_APA_CitationLong_ML" >
  300.     <xsl:param name="LCID" />
  301.     <xsl:variable name="_LCID">
  302.       <xsl:call-template name="localLCID">
  303.         <xsl:with-param name="LCID" select="$LCID"/>
  304.       </xsl:call-template>
  305.     </xsl:variable>
  306.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:ML"/>
  307.   </xsl:template>
  308.  
  309.   
  310.   <xsl:template name="templ_prop_APA_CitationLong_FL" >
  311.     <xsl:param name="LCID" />
  312.     <xsl:variable name="_LCID">
  313.       <xsl:call-template name="localLCID">
  314.         <xsl:with-param name="LCID" select="$LCID"/>
  315.       </xsl:call-template>
  316.     </xsl:variable>
  317.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationLong/b:FL"/>
  318.   </xsl:template>
  319.  
  320.   
  321.   <xsl:template name="templ_prop_APA_CitationShort_FML" >
  322.     <xsl:param name="LCID" />
  323.     <xsl:variable name="_LCID">
  324.       <xsl:call-template name="localLCID">
  325.         <xsl:with-param name="LCID" select="$LCID"/>
  326.       </xsl:call-template>
  327.     </xsl:variable>
  328.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FML"/>
  329.   </xsl:template>
  330.  
  331.   
  332.   <xsl:template name="templ_prop_APA_CitationShort_FM" >
  333.     <xsl:param name="LCID" />
  334.     <xsl:variable name="_LCID">
  335.       <xsl:call-template name="localLCID">
  336.         <xsl:with-param name="LCID" select="$LCID"/>
  337.       </xsl:call-template>
  338.     </xsl:variable>
  339.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FM"/>
  340.   </xsl:template>
  341.  
  342.   
  343.   <xsl:template name="templ_prop_APA_CitationShort_ML" >
  344.     <xsl:param name="LCID" />
  345.     <xsl:variable name="_LCID">
  346.       <xsl:call-template name="localLCID">
  347.         <xsl:with-param name="LCID" select="$LCID"/>
  348.       </xsl:call-template>
  349.     </xsl:variable>
  350.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:ML"/>
  351.   </xsl:template>
  352.  
  353.   
  354.   <xsl:template name="templ_prop_APA_CitationShort_FL" >
  355.     <xsl:param name="LCID" />
  356.     <xsl:variable name="_LCID">
  357.       <xsl:call-template name="localLCID">
  358.         <xsl:with-param name="LCID" select="$LCID"/>
  359.       </xsl:call-template>
  360.     </xsl:variable>
  361.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:CitationShort/b:FL"/>
  362.   </xsl:template>
  363.  
  364.   
  365.   <xsl:template name="templ_prop_Chicago_CitationLong_FML" >
  366.     <xsl:param name="LCID" />
  367.     <xsl:variable name="_LCID">
  368.       <xsl:call-template name="localLCID">
  369.         <xsl:with-param name="LCID" select="$LCID"/>
  370.       </xsl:call-template>
  371.     </xsl:variable>
  372.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FML"/>
  373.   </xsl:template>
  374.  
  375.   
  376.   <xsl:template name="templ_prop_Chicago_CitationLong_FM" >
  377.     <xsl:param name="LCID" />
  378.     <xsl:variable name="_LCID">
  379.       <xsl:call-template name="localLCID">
  380.         <xsl:with-param name="LCID" select="$LCID"/>
  381.       </xsl:call-template>
  382.     </xsl:variable>
  383.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FM"/>
  384.   </xsl:template>
  385.  
  386.   
  387.   <xsl:template name="templ_prop_Chicago_CitationLong_ML" >
  388.     <xsl:param name="LCID" />
  389.     <xsl:variable name="_LCID">
  390.       <xsl:call-template name="localLCID">
  391.         <xsl:with-param name="LCID" select="$LCID"/>
  392.       </xsl:call-template>
  393.     </xsl:variable>
  394.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:ML"/>
  395.   </xsl:template>
  396.  
  397.   
  398.   <xsl:template name="templ_prop_Chicago_CitationLong_FL" >
  399.     <xsl:param name="LCID" />
  400.     <xsl:variable name="_LCID">
  401.       <xsl:call-template name="localLCID">
  402.         <xsl:with-param name="LCID" select="$LCID"/>
  403.       </xsl:call-template>
  404.     </xsl:variable>
  405.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationLong/b:FL"/>
  406.   </xsl:template>
  407.  
  408.   
  409.   <xsl:template name="templ_prop_Chicago_CitationShort_FML" >
  410.     <xsl:param name="LCID" />
  411.     <xsl:variable name="_LCID">
  412.       <xsl:call-template name="localLCID">
  413.         <xsl:with-param name="LCID" select="$LCID"/>
  414.       </xsl:call-template>
  415.     </xsl:variable>
  416.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FML"/>
  417.   </xsl:template>
  418.  
  419.   
  420.   <xsl:template name="templ_prop_Chicago_CitationShort_FM" >
  421.     <xsl:param name="LCID" />
  422.     <xsl:variable name="_LCID">
  423.       <xsl:call-template name="localLCID">
  424.         <xsl:with-param name="LCID" select="$LCID"/>
  425.       </xsl:call-template>
  426.     </xsl:variable>
  427.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FM"/>
  428.   </xsl:template>
  429.  
  430.   
  431.   <xsl:template name="templ_prop_Chicago_CitationShort_ML" >
  432.     <xsl:param name="LCID" />
  433.     <xsl:variable name="_LCID">
  434.       <xsl:call-template name="localLCID">
  435.         <xsl:with-param name="LCID" select="$LCID"/>
  436.       </xsl:call-template>
  437.     </xsl:variable>
  438.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:ML"/>
  439.   </xsl:template>
  440.  
  441.   
  442.   <xsl:template name="templ_prop_Chicago_CitationShort_FL" >
  443.     <xsl:param name="LCID" />
  444.     <xsl:variable name="_LCID">
  445.       <xsl:call-template name="localLCID">
  446.         <xsl:with-param name="LCID" select="$LCID"/>
  447.       </xsl:call-template>
  448.     </xsl:variable>
  449.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:CitationShort/b:FL"/>
  450.   </xsl:template>
  451.  
  452.   
  453.   <xsl:template name="templ_prop_Gost_CitationLong_FML" >
  454.     <xsl:param name="LCID" />
  455.     <xsl:variable name="_LCID">
  456.       <xsl:call-template name="localLCID">
  457.         <xsl:with-param name="LCID" select="$LCID"/>
  458.       </xsl:call-template>
  459.     </xsl:variable>
  460.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FML"/>
  461.   </xsl:template>
  462.  
  463.   
  464.   <xsl:template name="templ_prop_Gost_CitationLong_FM" >
  465.     <xsl:param name="LCID" />
  466.     <xsl:variable name="_LCID">
  467.       <xsl:call-template name="localLCID">
  468.         <xsl:with-param name="LCID" select="$LCID"/>
  469.       </xsl:call-template>
  470.     </xsl:variable>
  471.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FM"/>
  472.   </xsl:template>
  473.  
  474.   
  475.   <xsl:template name="templ_prop_Gost_CitationLong_ML" >
  476.     <xsl:param name="LCID" />
  477.     <xsl:variable name="_LCID">
  478.       <xsl:call-template name="localLCID">
  479.         <xsl:with-param name="LCID" select="$LCID"/>
  480.       </xsl:call-template>
  481.     </xsl:variable>
  482.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:ML"/>
  483.   </xsl:template>
  484.  
  485.   
  486.   <xsl:template name="templ_prop_Gost_CitationLong_FL" >
  487.     <xsl:param name="LCID" />
  488.     <xsl:variable name="_LCID">
  489.       <xsl:call-template name="localLCID">
  490.         <xsl:with-param name="LCID" select="$LCID"/>
  491.       </xsl:call-template>
  492.     </xsl:variable>
  493.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationLong/b:FL"/>
  494.   </xsl:template>
  495.  
  496.   
  497.   <xsl:template name="templ_prop_Gost_CitationShort_FML" >
  498.     <xsl:param name="LCID" />
  499.     <xsl:variable name="_LCID">
  500.       <xsl:call-template name="localLCID">
  501.         <xsl:with-param name="LCID" select="$LCID"/>
  502.       </xsl:call-template>
  503.     </xsl:variable>
  504.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FML"/>
  505.   </xsl:template>
  506.  
  507.   
  508.   <xsl:template name="templ_prop_Gost_CitationShort_FM" >
  509.     <xsl:param name="LCID" />
  510.     <xsl:variable name="_LCID">
  511.       <xsl:call-template name="localLCID">
  512.         <xsl:with-param name="LCID" select="$LCID"/>
  513.       </xsl:call-template>
  514.     </xsl:variable>
  515.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FM"/>
  516.   </xsl:template>
  517.  
  518.   
  519.   <xsl:template name="templ_prop_Gost_CitationShort_ML" >
  520.     <xsl:param name="LCID" />
  521.     <xsl:variable name="_LCID">
  522.       <xsl:call-template name="localLCID">
  523.         <xsl:with-param name="LCID" select="$LCID"/>
  524.       </xsl:call-template>
  525.     </xsl:variable>
  526.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:ML"/>
  527.   </xsl:template>
  528.  
  529.   
  530.   <xsl:template name="templ_prop_Gost_CitationShort_FL" >
  531.     <xsl:param name="LCID" />
  532.     <xsl:variable name="_LCID">
  533.       <xsl:call-template name="localLCID">
  534.         <xsl:with-param name="LCID" select="$LCID"/>
  535.       </xsl:call-template>
  536.     </xsl:variable>
  537.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:CitationShort/b:FL"/>
  538.   </xsl:template>
  539.  
  540.   
  541.   <xsl:template name="templ_prop_ISO690_CitationLong_FML" >
  542.     <xsl:param name="LCID" />
  543.     <xsl:variable name="_LCID">
  544.       <xsl:call-template name="localLCID">
  545.         <xsl:with-param name="LCID" select="$LCID"/>
  546.       </xsl:call-template>
  547.     </xsl:variable>
  548.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FML"/>
  549.   </xsl:template>
  550.  
  551.   
  552.   <xsl:template name="templ_prop_ISO690_CitationLong_FM" >
  553.     <xsl:param name="LCID" />
  554.     <xsl:variable name="_LCID">
  555.       <xsl:call-template name="localLCID">
  556.         <xsl:with-param name="LCID" select="$LCID"/>
  557.       </xsl:call-template>
  558.     </xsl:variable>
  559.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FM"/>
  560.   </xsl:template>
  561.  
  562.   
  563.   <xsl:template name="templ_prop_ISO690_CitationLong_ML" >
  564.     <xsl:param name="LCID" />
  565.     <xsl:variable name="_LCID">
  566.       <xsl:call-template name="localLCID">
  567.         <xsl:with-param name="LCID" select="$LCID"/>
  568.       </xsl:call-template>
  569.     </xsl:variable>
  570.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:ML"/>
  571.   </xsl:template>
  572.  
  573.   
  574.   <xsl:template name="templ_prop_ISO690_CitationLong_FL" >
  575.     <xsl:param name="LCID" />
  576.     <xsl:variable name="_LCID">
  577.       <xsl:call-template name="localLCID">
  578.         <xsl:with-param name="LCID" select="$LCID"/>
  579.       </xsl:call-template>
  580.     </xsl:variable>
  581.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationLong/b:FL"/>
  582.   </xsl:template>
  583.  
  584.   
  585.   <xsl:template name="templ_prop_ISO690_CitationShort_FML" >
  586.     <xsl:param name="LCID" />
  587.     <xsl:variable name="_LCID">
  588.       <xsl:call-template name="localLCID">
  589.         <xsl:with-param name="LCID" select="$LCID"/>
  590.       </xsl:call-template>
  591.     </xsl:variable>
  592.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FML"/>
  593.   </xsl:template>
  594.  
  595.   
  596.   <xsl:template name="templ_prop_ISO690_CitationShort_FM" >
  597.     <xsl:param name="LCID" />
  598.     <xsl:variable name="_LCID">
  599.       <xsl:call-template name="localLCID">
  600.         <xsl:with-param name="LCID" select="$LCID"/>
  601.       </xsl:call-template>
  602.     </xsl:variable>
  603.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FM"/>
  604.   </xsl:template>
  605.  
  606.   
  607.   <xsl:template name="templ_prop_ISO690_CitationShort_ML" >
  608.     <xsl:param name="LCID" />
  609.     <xsl:variable name="_LCID">
  610.       <xsl:call-template name="localLCID">
  611.         <xsl:with-param name="LCID" select="$LCID"/>
  612.       </xsl:call-template>
  613.     </xsl:variable>
  614.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:ML"/>
  615.   </xsl:template>
  616.  
  617.   
  618.   <xsl:template name="templ_prop_ISO690_CitationShort_FL" >
  619.     <xsl:param name="LCID" />
  620.     <xsl:variable name="_LCID">
  621.       <xsl:call-template name="localLCID">
  622.         <xsl:with-param name="LCID" select="$LCID"/>
  623.       </xsl:call-template>
  624.     </xsl:variable>
  625.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:CitationShort/b:FL"/>
  626.   </xsl:template>
  627.  
  628.   
  629.   <xsl:template name="templ_str_ChapterInCap" >
  630.     <xsl:param name="LCID" />
  631.     <xsl:variable name="_LCID">
  632.       <xsl:call-template name="localLCID">
  633.         <xsl:with-param name="LCID" select="$LCID"/>
  634.       </xsl:call-template>
  635.     </xsl:variable>
  636.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ChapterInCap"/>
  637.   </xsl:template>
  638.  
  639.   
  640.   <xsl:template name="templ_str_ChapterCap" >
  641.     <xsl:param name="LCID" />
  642.     <xsl:variable name="_LCID">
  643.       <xsl:call-template name="localLCID">
  644.         <xsl:with-param name="LCID" select="$LCID"/>
  645.       </xsl:call-template>
  646.     </xsl:variable>
  647.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ChapterCap"/>
  648.   </xsl:template>
  649.  
  650.   
  651.   <xsl:template name="templ_str_ChapterInUnCap" >
  652.     <xsl:param name="LCID" />
  653.     <xsl:variable name="_LCID">
  654.       <xsl:call-template name="localLCID">
  655.         <xsl:with-param name="LCID" select="$LCID"/>
  656.       </xsl:call-template>
  657.     </xsl:variable>
  658.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ChapterInUnCap"/>
  659.   </xsl:template>
  660.  
  661.   
  662.   <xsl:template name="templ_str_ChapterUnCap" >
  663.     <xsl:param name="LCID" />
  664.     <xsl:variable name="_LCID">
  665.       <xsl:call-template name="localLCID">
  666.         <xsl:with-param name="LCID" select="$LCID"/>
  667.       </xsl:call-template>
  668.     </xsl:variable>
  669.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ChapterUnCap"/>
  670.   </xsl:template>
  671.  
  672.   
  673.   <xsl:template name="templ_str_InterviewByUnCap" >
  674.     <xsl:param name="LCID" />
  675.     <xsl:variable name="_LCID">
  676.       <xsl:call-template name="localLCID">
  677.         <xsl:with-param name="LCID" select="$LCID"/>
  678.       </xsl:call-template>
  679.     </xsl:variable>
  680.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewByUnCap"/>
  681.   </xsl:template>
  682.  
  683.   
  684.   <xsl:template name="templ_str_ByUnCap" >
  685.     <xsl:param name="LCID" />
  686.     <xsl:variable name="_LCID">
  687.       <xsl:call-template name="localLCID">
  688.         <xsl:with-param name="LCID" select="$LCID"/>
  689.       </xsl:call-template>
  690.     </xsl:variable>
  691.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ByUnCap"/>
  692.   </xsl:template>
  693.  
  694.   
  695.   <xsl:template name="templ_str_InNameUnCap" >
  696.     <xsl:param name="LCID" />
  697.     <xsl:variable name="_LCID">
  698.       <xsl:call-template name="localLCID">
  699.         <xsl:with-param name="LCID" select="$LCID"/>
  700.       </xsl:call-template>
  701.     </xsl:variable>
  702.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InNameUnCap"/>
  703.   </xsl:template>
  704.  
  705.   
  706.   <xsl:template name="templ_str_AccessedCap" >
  707.     <xsl:param name="LCID" />
  708.     <xsl:variable name="_LCID">
  709.       <xsl:call-template name="localLCID">
  710.         <xsl:with-param name="LCID" select="$LCID"/>
  711.       </xsl:call-template>
  712.     </xsl:variable>
  713.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AccessedCap"/>
  714.   </xsl:template>
  715.  
  716.   
  717.   <xsl:template name="templ_str_AccessedUnCap" >
  718.     <xsl:param name="LCID" />
  719.     <xsl:variable name="_LCID">
  720.       <xsl:call-template name="localLCID">
  721.         <xsl:with-param name="LCID" select="$LCID"/>
  722.       </xsl:call-template>
  723.     </xsl:variable>
  724.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AccessedUnCap"/>
  725.   </xsl:template>
  726.  
  727.   
  728.   <xsl:template name="templ_str_VolumesAfterShortUnCap" >
  729.     <xsl:param name="LCID" />
  730.     <xsl:variable name="_LCID">
  731.       <xsl:call-template name="localLCID">
  732.         <xsl:with-param name="LCID" select="$LCID"/>
  733.       </xsl:call-template>
  734.     </xsl:variable>
  735.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesAfterShortUnCap"/>
  736.   </xsl:template>
  737.  
  738.   
  739.   <xsl:template name="templ_str_OnlineCap" >
  740.     <xsl:param name="LCID" />
  741.     <xsl:variable name="_LCID">
  742.       <xsl:call-template name="localLCID">
  743.         <xsl:with-param name="LCID" select="$LCID"/>
  744.       </xsl:call-template>
  745.     </xsl:variable>
  746.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineCap"/>
  747.   </xsl:template>
  748.  
  749.   
  750.   <xsl:template name="templ_str_OnlineUnCap" >
  751.     <xsl:param name="LCID" />
  752.     <xsl:variable name="_LCID">
  753.       <xsl:call-template name="localLCID">
  754.         <xsl:with-param name="LCID" select="$LCID"/>
  755.       </xsl:call-template>
  756.     </xsl:variable>
  757.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:OnlineUnCap"/>
  758.   </xsl:template>
  759.  
  760.   
  761.   <xsl:template name="templ_str_FiledCap" >
  762.     <xsl:param name="LCID" />
  763.     <xsl:variable name="_LCID">
  764.       <xsl:call-template name="localLCID">
  765.         <xsl:with-param name="LCID" select="$LCID"/>
  766.       </xsl:call-template>
  767.     </xsl:variable>
  768.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FiledCap"/>
  769.   </xsl:template>
  770.  
  771.   
  772.   <xsl:template name="templ_str_PatentFiledCap" >
  773.     <xsl:param name="LCID" />
  774.     <xsl:variable name="_LCID">
  775.       <xsl:call-template name="localLCID">
  776.         <xsl:with-param name="LCID" select="$LCID"/>
  777.       </xsl:call-template>
  778.     </xsl:variable>
  779.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentFiledCap"/>
  780.   </xsl:template>
  781.  
  782.   
  783.   <xsl:template name="templ_str_InCap" >
  784.     <xsl:param name="LCID" />
  785.     <xsl:variable name="_LCID">
  786.       <xsl:call-template name="localLCID">
  787.         <xsl:with-param name="LCID" select="$LCID"/>
  788.       </xsl:call-template>
  789.     </xsl:variable>
  790.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InCap"/>
  791.   </xsl:template>
  792.  
  793.   
  794.   <xsl:template name="templ_str_InNameCap" >
  795.     <xsl:param name="LCID" />
  796.     <xsl:variable name="_LCID">
  797.       <xsl:call-template name="localLCID">
  798.         <xsl:with-param name="LCID" select="$LCID"/>
  799.       </xsl:call-template>
  800.     </xsl:variable>
  801.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InNameCap"/>
  802.   </xsl:template>
  803.  
  804.   
  805.   <xsl:template name="templ_str_WithUnCap" >
  806.     <xsl:param name="LCID" />
  807.     <xsl:variable name="_LCID">
  808.       <xsl:call-template name="localLCID">
  809.         <xsl:with-param name="LCID" select="$LCID"/>
  810.       </xsl:call-template>
  811.     </xsl:variable>
  812.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WithUnCap"/>
  813.   </xsl:template>
  814.  
  815.   
  816.   <xsl:template name="templ_str_VersionShortCap" >
  817.     <xsl:param name="LCID" />
  818.     <xsl:variable name="_LCID">
  819.       <xsl:call-template name="localLCID">
  820.         <xsl:with-param name="LCID" select="$LCID"/>
  821.       </xsl:call-template>
  822.     </xsl:variable>
  823.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VersionShortCap"/>
  824.   </xsl:template>
  825.  
  826.   
  827.   <xsl:template name="templ_str_InterviewCap" >
  828.     <xsl:param name="LCID" />
  829.     <xsl:variable name="_LCID">
  830.       <xsl:call-template name="localLCID">
  831.         <xsl:with-param name="LCID" select="$LCID"/>
  832.       </xsl:call-template>
  833.     </xsl:variable>
  834.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewCap"/>
  835.   </xsl:template>
  836.  
  837.   
  838.   <xsl:template name="templ_str_InterviewWithCap" >
  839.     <xsl:param name="LCID" />
  840.     <xsl:variable name="_LCID">
  841.       <xsl:call-template name="localLCID">
  842.         <xsl:with-param name="LCID" select="$LCID"/>
  843.       </xsl:call-template>
  844.     </xsl:variable>
  845.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewWithCap"/>
  846.   </xsl:template>
  847.  
  848.   
  849.   <xsl:template name="templ_str_InterviewByCap" >
  850.     <xsl:param name="LCID" />
  851.     <xsl:variable name="_LCID">
  852.       <xsl:call-template name="localLCID">
  853.         <xsl:with-param name="LCID" select="$LCID"/>
  854.       </xsl:call-template>
  855.     </xsl:variable>
  856.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewByCap"/>
  857.   </xsl:template>
  858.  
  859.   
  860.   <xsl:template name="templ_str_ByCap" >
  861.     <xsl:param name="LCID" />
  862.     <xsl:variable name="_LCID">
  863.       <xsl:call-template name="localLCID">
  864.         <xsl:with-param name="LCID" select="$LCID"/>
  865.       </xsl:call-template>
  866.     </xsl:variable>
  867.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ByCap"/>
  868.   </xsl:template>
  869.  
  870.   
  871.   <xsl:template name="templ_str_AndUnCap" >
  872.     <xsl:param name="LCID" />
  873.     <xsl:variable name="_LCID">
  874.       <xsl:call-template name="localLCID">
  875.         <xsl:with-param name="LCID" select="$LCID"/>
  876.       </xsl:call-template>
  877.     </xsl:variable>
  878.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndUnCap"/>
  879.   </xsl:template>
  880.  
  881.   
  882.   <xsl:template name="templ_str_AndOthersUnCap" >
  883.     <xsl:param name="LCID" />
  884.     <xsl:variable name="_LCID">
  885.       <xsl:call-template name="localLCID">
  886.         <xsl:with-param name="LCID" select="$LCID"/>
  887.       </xsl:call-template>
  888.     </xsl:variable>
  889.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AndOthersUnCap"/>
  890.   </xsl:template>
  891.  
  892.   
  893.   <xsl:template name="templ_str_MotionPictureCap" >
  894.     <xsl:param name="LCID" />
  895.     <xsl:variable name="_LCID">
  896.       <xsl:call-template name="localLCID">
  897.         <xsl:with-param name="LCID" select="$LCID"/>
  898.       </xsl:call-template>
  899.     </xsl:variable>
  900.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:MotionPictureCap"/>
  901.   </xsl:template>
  902.  
  903.   
  904.   <xsl:template name="templ_str_PatentCap" >
  905.     <xsl:param name="LCID" />
  906.     <xsl:variable name="_LCID">
  907.       <xsl:call-template name="localLCID">
  908.         <xsl:with-param name="LCID" select="$LCID"/>
  909.       </xsl:call-template>
  910.     </xsl:variable>
  911.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentCap"/>
  912.   </xsl:template>
  913.  
  914.   
  915.   <xsl:template name="templ_str_EditionShortUnCap" >
  916.     <xsl:param name="LCID" />
  917.     <xsl:variable name="_LCID">
  918.       <xsl:call-template name="localLCID">
  919.         <xsl:with-param name="LCID" select="$LCID"/>
  920.       </xsl:call-template>
  921.     </xsl:variable>
  922.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditionShortUnCap"/>
  923.   </xsl:template>
  924.  
  925.   
  926.   <xsl:template name="templ_str_EditionUnCap" >
  927.     <xsl:param name="LCID" />
  928.     <xsl:variable name="_LCID">
  929.       <xsl:call-template name="localLCID">
  930.         <xsl:with-param name="LCID" select="$LCID"/>
  931.       </xsl:call-template>
  932.     </xsl:variable>
  933.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditionUnCap"/>
  934.   </xsl:template>
  935.  
  936.   
  937.   <xsl:template name="templ_str_RetrievedFromCap" >
  938.     <xsl:param name="LCID" />
  939.     <xsl:variable name="_LCID">
  940.       <xsl:call-template name="localLCID">
  941.         <xsl:with-param name="LCID" select="$LCID"/>
  942.       </xsl:call-template>
  943.     </xsl:variable>
  944.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedFromCap"/>
  945.   </xsl:template>
  946.  
  947.   
  948.   <xsl:template name="templ_str_RetrievedCap" >
  949.     <xsl:param name="LCID" />
  950.     <xsl:variable name="_LCID">
  951.       <xsl:call-template name="localLCID">
  952.         <xsl:with-param name="LCID" select="$LCID"/>
  953.       </xsl:call-template>
  954.     </xsl:variable>
  955.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:RetrievedCap"/>
  956.   </xsl:template>
  957.  
  958.   
  959.   <xsl:template name="templ_str_FromCap" >
  960.     <xsl:param name="LCID" />
  961.     <xsl:variable name="_LCID">
  962.       <xsl:call-template name="localLCID">
  963.         <xsl:with-param name="LCID" select="$LCID"/>
  964.       </xsl:call-template>
  965.     </xsl:variable>
  966.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromCap"/>
  967.   </xsl:template>
  968.  
  969.   
  970.   <xsl:template name="templ_str_FromUnCap" >
  971.     <xsl:param name="LCID" />
  972.     <xsl:variable name="_LCID">
  973.       <xsl:call-template name="localLCID">
  974.         <xsl:with-param name="LCID" select="$LCID"/>
  975.       </xsl:call-template>
  976.     </xsl:variable>
  977.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:FromUnCap"/>
  978.   </xsl:template>
  979.  
  980.   
  981.   <xsl:template name="templ_str_NoDateShortUnCap" >
  982.     <xsl:param name="LCID" />
  983.     <xsl:variable name="_LCID">
  984.       <xsl:call-template name="localLCID">
  985.         <xsl:with-param name="LCID" select="$LCID"/>
  986.       </xsl:call-template>
  987.     </xsl:variable>
  988.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NoDateShortUnCap"/>
  989.   </xsl:template>
  990.  
  991.   
  992.   <xsl:template name="templ_str_NumberShortCap" >
  993.     <xsl:param name="LCID" />
  994.     <xsl:variable name="_LCID">
  995.       <xsl:call-template name="localLCID">
  996.         <xsl:with-param name="LCID" select="$LCID"/>
  997.       </xsl:call-template>
  998.     </xsl:variable>
  999.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortCap"/>
  1000.   </xsl:template>
  1001.  
  1002.   
  1003.   <xsl:template name="templ_str_NumberShortUnCap" >
  1004.     <xsl:param name="LCID" />
  1005.     <xsl:variable name="_LCID">
  1006.       <xsl:call-template name="localLCID">
  1007.         <xsl:with-param name="LCID" select="$LCID"/>
  1008.       </xsl:call-template>
  1009.     </xsl:variable>
  1010.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:NumberShortUnCap"/>
  1011.   </xsl:template>
  1012.  
  1013.   
  1014.   <xsl:template name="templ_str_PatentNumberShortCap" >
  1015.     <xsl:param name="LCID" />
  1016.     <xsl:variable name="_LCID">
  1017.       <xsl:call-template name="localLCID">
  1018.         <xsl:with-param name="LCID" select="$LCID"/>
  1019.       </xsl:call-template>
  1020.     </xsl:variable>
  1021.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PatentNumberShortCap"/>
  1022.   </xsl:template>
  1023.  
  1024.   
  1025.   <xsl:template name="templ_str_PagesCountinousShort" >
  1026.     <xsl:param name="LCID" />
  1027.     <xsl:variable name="_LCID">
  1028.       <xsl:call-template name="localLCID">
  1029.         <xsl:with-param name="LCID" select="$LCID"/>
  1030.       </xsl:call-template>
  1031.     </xsl:variable>
  1032.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PagesCountinousShort"/>
  1033.   </xsl:template>
  1034.  
  1035.   
  1036.   <xsl:template name="templ_str_PageShort" >
  1037.     <xsl:param name="LCID" />
  1038.     <xsl:variable name="_LCID">
  1039.       <xsl:call-template name="localLCID">
  1040.         <xsl:with-param name="LCID" select="$LCID"/>
  1041.       </xsl:call-template>
  1042.     </xsl:variable>
  1043.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PageShort"/>
  1044.   </xsl:template>
  1045.  
  1046.   
  1047.   <xsl:template name="templ_str_SineNomineShort" >
  1048.     <xsl:param name="LCID" />
  1049.     <xsl:variable name="_LCID">
  1050.       <xsl:call-template name="localLCID">
  1051.         <xsl:with-param name="LCID" select="$LCID"/>
  1052.       </xsl:call-template>
  1053.     </xsl:variable>
  1054.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineNomineShort"/>
  1055.   </xsl:template>
  1056.  
  1057.   
  1058.   <xsl:template name="templ_str_SineLocoShort" >
  1059.     <xsl:param name="LCID" />
  1060.     <xsl:variable name="_LCID">
  1061.       <xsl:call-template name="localLCID">
  1062.         <xsl:with-param name="LCID" select="$LCID"/>
  1063.       </xsl:call-template>
  1064.     </xsl:variable>
  1065.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoShort"/>
  1066.   </xsl:template>
  1067.  
  1068.   
  1069.   <xsl:template name="templ_str_SineLocoSineNomineShort" >
  1070.     <xsl:param name="LCID" />
  1071.     <xsl:variable name="_LCID">
  1072.       <xsl:call-template name="localLCID">
  1073.         <xsl:with-param name="LCID" select="$LCID"/>
  1074.       </xsl:call-template>
  1075.     </xsl:variable>
  1076.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:SineLocoSineNomineShort"/>
  1077.   </xsl:template>
  1078.  
  1079.   
  1080.   <xsl:template name="templ_str_VolumeOfShortCap" >
  1081.     <xsl:param name="LCID" />
  1082.     <xsl:variable name="_LCID">
  1083.       <xsl:call-template name="localLCID">
  1084.         <xsl:with-param name="LCID" select="$LCID"/>
  1085.       </xsl:call-template>
  1086.     </xsl:variable>
  1087.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeOfShortCap"/>
  1088.   </xsl:template>
  1089.  
  1090.   
  1091.   <xsl:template name="templ_str_VolumesOfShortCap" >
  1092.     <xsl:param name="LCID" />
  1093.     <xsl:variable name="_LCID">
  1094.       <xsl:call-template name="localLCID">
  1095.         <xsl:with-param name="LCID" select="$LCID"/>
  1096.       </xsl:call-template>
  1097.     </xsl:variable>
  1098.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesOfShortCap"/>
  1099.   </xsl:template>
  1100.  
  1101.   
  1102.   <xsl:template name="templ_str_VolumeShortCap" >
  1103.     <xsl:param name="LCID" />
  1104.     <xsl:variable name="_LCID">
  1105.       <xsl:call-template name="localLCID">
  1106.         <xsl:with-param name="LCID" select="$LCID"/>
  1107.       </xsl:call-template>
  1108.     </xsl:variable>
  1109.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortCap"/>
  1110.   </xsl:template>
  1111.  
  1112.   
  1113.   <xsl:template name="templ_str_VolumeShortUnCap" >
  1114.     <xsl:param name="LCID" />
  1115.     <xsl:variable name="_LCID">
  1116.       <xsl:call-template name="localLCID">
  1117.         <xsl:with-param name="LCID" select="$LCID"/>
  1118.       </xsl:call-template>
  1119.     </xsl:variable>
  1120.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeShortUnCap"/>
  1121.   </xsl:template>
  1122.  
  1123.   
  1124.   <xsl:template name="templ_str_VolumesShortUnCap" >
  1125.     <xsl:param name="LCID" />
  1126.     <xsl:variable name="_LCID">
  1127.       <xsl:call-template name="localLCID">
  1128.         <xsl:with-param name="LCID" select="$LCID"/>
  1129.       </xsl:call-template>
  1130.     </xsl:variable>
  1131.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortUnCap"/>
  1132.   </xsl:template>
  1133.  
  1134.   
  1135.   <xsl:template name="templ_str_VolumesShortCap" >
  1136.     <xsl:param name="LCID" />
  1137.     <xsl:variable name="_LCID">
  1138.       <xsl:call-template name="localLCID">
  1139.         <xsl:with-param name="LCID" select="$LCID"/>
  1140.       </xsl:call-template>
  1141.     </xsl:variable>
  1142.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumesShortCap"/>
  1143.   </xsl:template>
  1144.  
  1145.   
  1146.   <xsl:template name="templ_str_VolumeCap" >
  1147.     <xsl:param name="LCID" />
  1148.     <xsl:variable name="_LCID">
  1149.       <xsl:call-template name="localLCID">
  1150.         <xsl:with-param name="LCID" select="$LCID"/>
  1151.       </xsl:call-template>
  1152.     </xsl:variable>
  1153.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:VolumeCap"/>
  1154.   </xsl:template>
  1155.  
  1156.   
  1157.   <xsl:template name="templ_str_AuthorShortUnCap" >
  1158.     <xsl:param name="LCID" />
  1159.     <xsl:variable name="_LCID">
  1160.       <xsl:call-template name="localLCID">
  1161.         <xsl:with-param name="LCID" select="$LCID"/>
  1162.       </xsl:call-template>
  1163.     </xsl:variable>
  1164.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:AuthorShortUnCap"/>
  1165.   </xsl:template>
  1166.  
  1167.   
  1168.   <xsl:template name="templ_str_BookAuthorShortUnCap" >
  1169.     <xsl:param name="LCID" />
  1170.     <xsl:variable name="_LCID">
  1171.       <xsl:call-template name="localLCID">
  1172.         <xsl:with-param name="LCID" select="$LCID"/>
  1173.       </xsl:call-template>
  1174.     </xsl:variable>
  1175.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:BookAuthorShortUnCap"/>
  1176.   </xsl:template>
  1177.  
  1178.   
  1179.   <xsl:template name="templ_str_ArtistShortUnCap" >
  1180.     <xsl:param name="LCID" />
  1181.     <xsl:variable name="_LCID">
  1182.       <xsl:call-template name="localLCID">
  1183.         <xsl:with-param name="LCID" select="$LCID"/>
  1184.       </xsl:call-template>
  1185.     </xsl:variable>
  1186.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ArtistShortUnCap"/>
  1187.   </xsl:template>
  1188.  
  1189.   
  1190.   <xsl:template name="templ_str_WriterCap" >
  1191.     <xsl:param name="LCID" />
  1192.     <xsl:variable name="_LCID">
  1193.       <xsl:call-template name="localLCID">
  1194.         <xsl:with-param name="LCID" select="$LCID"/>
  1195.       </xsl:call-template>
  1196.     </xsl:variable>
  1197.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterCap"/>
  1198.   </xsl:template>
  1199.  
  1200.   
  1201.   <xsl:template name="templ_str_WritersCap" >
  1202.     <xsl:param name="LCID" />
  1203.     <xsl:variable name="_LCID">
  1204.       <xsl:call-template name="localLCID">
  1205.         <xsl:with-param name="LCID" select="$LCID"/>
  1206.       </xsl:call-template>
  1207.     </xsl:variable>
  1208.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WritersCap"/>
  1209.   </xsl:template>
  1210.  
  1211.   
  1212.   <xsl:template name="templ_str_WriterShortUnCap" >
  1213.     <xsl:param name="LCID" />
  1214.     <xsl:variable name="_LCID">
  1215.       <xsl:call-template name="localLCID">
  1216.         <xsl:with-param name="LCID" select="$LCID"/>
  1217.       </xsl:call-template>
  1218.     </xsl:variable>
  1219.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:WriterShortUnCap"/>
  1220.   </xsl:template>
  1221.  
  1222.   
  1223.   <xsl:template name="templ_str_ConductedByCap" >
  1224.     <xsl:param name="LCID" />
  1225.     <xsl:variable name="_LCID">
  1226.       <xsl:call-template name="localLCID">
  1227.         <xsl:with-param name="LCID" select="$LCID"/>
  1228.       </xsl:call-template>
  1229.     </xsl:variable>
  1230.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByCap"/>
  1231.   </xsl:template>
  1232.  
  1233.   
  1234.   <xsl:template name="templ_str_ConductedByUnCap" >
  1235.     <xsl:param name="LCID" />
  1236.     <xsl:variable name="_LCID">
  1237.       <xsl:call-template name="localLCID">
  1238.         <xsl:with-param name="LCID" select="$LCID"/>
  1239.       </xsl:call-template>
  1240.     </xsl:variable>
  1241.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductedByUnCap"/>
  1242.   </xsl:template>
  1243.  
  1244.   
  1245.   <xsl:template name="templ_str_ConductorCap" >
  1246.     <xsl:param name="LCID" />
  1247.     <xsl:variable name="_LCID">
  1248.       <xsl:call-template name="localLCID">
  1249.         <xsl:with-param name="LCID" select="$LCID"/>
  1250.       </xsl:call-template>
  1251.     </xsl:variable>
  1252.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorCap"/>
  1253.   </xsl:template>
  1254.  
  1255.   
  1256.   <xsl:template name="templ_str_ConductorsCap" >
  1257.     <xsl:param name="LCID" />
  1258.     <xsl:variable name="_LCID">
  1259.       <xsl:call-template name="localLCID">
  1260.         <xsl:with-param name="LCID" select="$LCID"/>
  1261.       </xsl:call-template>
  1262.     </xsl:variable>
  1263.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsCap"/>
  1264.   </xsl:template>
  1265.  
  1266.   
  1267.   <xsl:template name="templ_str_ConductorShortCap" >
  1268.     <xsl:param name="LCID" />
  1269.     <xsl:variable name="_LCID">
  1270.       <xsl:call-template name="localLCID">
  1271.         <xsl:with-param name="LCID" select="$LCID"/>
  1272.       </xsl:call-template>
  1273.     </xsl:variable>
  1274.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortCap"/>
  1275.   </xsl:template>
  1276.  
  1277.   
  1278.   <xsl:template name="templ_str_ConductorShortUnCap" >
  1279.     <xsl:param name="LCID" />
  1280.     <xsl:variable name="_LCID">
  1281.       <xsl:call-template name="localLCID">
  1282.         <xsl:with-param name="LCID" select="$LCID"/>
  1283.       </xsl:call-template>
  1284.     </xsl:variable>
  1285.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorShortUnCap"/>
  1286.   </xsl:template>
  1287.  
  1288.   
  1289.   <xsl:template name="templ_str_ConductorsShortCap" >
  1290.     <xsl:param name="LCID" />
  1291.     <xsl:variable name="_LCID">
  1292.       <xsl:call-template name="localLCID">
  1293.         <xsl:with-param name="LCID" select="$LCID"/>
  1294.       </xsl:call-template>
  1295.     </xsl:variable>
  1296.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortCap"/>
  1297.   </xsl:template>
  1298.  
  1299.   
  1300.   <xsl:template name="templ_str_ConductorsShortUnCap" >
  1301.     <xsl:param name="LCID" />
  1302.     <xsl:variable name="_LCID">
  1303.       <xsl:call-template name="localLCID">
  1304.         <xsl:with-param name="LCID" select="$LCID"/>
  1305.       </xsl:call-template>
  1306.     </xsl:variable>
  1307.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ConductorsShortUnCap"/>
  1308.   </xsl:template>
  1309.  
  1310.   
  1311.   <xsl:template name="templ_str_CounselShortUnCapIso" >
  1312.     <xsl:param name="LCID" />
  1313.     <xsl:variable name="_LCID">
  1314.       <xsl:call-template name="localLCID">
  1315.         <xsl:with-param name="LCID" select="$LCID"/>
  1316.       </xsl:call-template>
  1317.     </xsl:variable>
  1318.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCapIso"/>
  1319.   </xsl:template>
  1320.  
  1321.   
  1322.   <xsl:template name="templ_str_CounselShortUnCap" >
  1323.     <xsl:param name="LCID" />
  1324.     <xsl:variable name="_LCID">
  1325.       <xsl:call-template name="localLCID">
  1326.         <xsl:with-param name="LCID" select="$LCID"/>
  1327.       </xsl:call-template>
  1328.     </xsl:variable>
  1329.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CounselShortUnCap"/>
  1330.   </xsl:template>
  1331.  
  1332.   
  1333.   <xsl:template name="templ_str_DirectedByCap" >
  1334.     <xsl:param name="LCID" />
  1335.     <xsl:variable name="_LCID">
  1336.       <xsl:call-template name="localLCID">
  1337.         <xsl:with-param name="LCID" select="$LCID"/>
  1338.       </xsl:call-template>
  1339.     </xsl:variable>
  1340.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByCap"/>
  1341.   </xsl:template>
  1342.  
  1343.   
  1344.   <xsl:template name="templ_str_DirectedByUnCap" >
  1345.     <xsl:param name="LCID" />
  1346.     <xsl:variable name="_LCID">
  1347.       <xsl:call-template name="localLCID">
  1348.         <xsl:with-param name="LCID" select="$LCID"/>
  1349.       </xsl:call-template>
  1350.     </xsl:variable>
  1351.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectedByUnCap"/>
  1352.   </xsl:template>
  1353.  
  1354.   
  1355.   <xsl:template name="templ_str_DirectorCap" >
  1356.     <xsl:param name="LCID" />
  1357.     <xsl:variable name="_LCID">
  1358.       <xsl:call-template name="localLCID">
  1359.         <xsl:with-param name="LCID" select="$LCID"/>
  1360.       </xsl:call-template>
  1361.     </xsl:variable>
  1362.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorCap"/>
  1363.   </xsl:template>
  1364.  
  1365.   
  1366.   <xsl:template name="templ_str_DirectorsCap" >
  1367.     <xsl:param name="LCID" />
  1368.     <xsl:variable name="_LCID">
  1369.       <xsl:call-template name="localLCID">
  1370.         <xsl:with-param name="LCID" select="$LCID"/>
  1371.       </xsl:call-template>
  1372.     </xsl:variable>
  1373.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsCap"/>
  1374.   </xsl:template>
  1375.  
  1376.   
  1377.   <xsl:template name="templ_str_DirectorShortCap" >
  1378.     <xsl:param name="LCID" />
  1379.     <xsl:variable name="_LCID">
  1380.       <xsl:call-template name="localLCID">
  1381.         <xsl:with-param name="LCID" select="$LCID"/>
  1382.       </xsl:call-template>
  1383.     </xsl:variable>
  1384.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortCap"/>
  1385.   </xsl:template>
  1386.  
  1387.   
  1388.   <xsl:template name="templ_str_DirectorShortUnCap" >
  1389.     <xsl:param name="LCID" />
  1390.     <xsl:variable name="_LCID">
  1391.       <xsl:call-template name="localLCID">
  1392.         <xsl:with-param name="LCID" select="$LCID"/>
  1393.       </xsl:call-template>
  1394.     </xsl:variable>
  1395.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorShortUnCap"/>
  1396.   </xsl:template>
  1397.  
  1398.   
  1399.   <xsl:template name="templ_str_DirectorsShortCap" >
  1400.     <xsl:param name="LCID" />
  1401.     <xsl:variable name="_LCID">
  1402.       <xsl:call-template name="localLCID">
  1403.         <xsl:with-param name="LCID" select="$LCID"/>
  1404.       </xsl:call-template>
  1405.     </xsl:variable>
  1406.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortCap"/>
  1407.   </xsl:template>
  1408.  
  1409.   
  1410.   <xsl:template name="templ_str_DirectorsShortUnCap" >
  1411.     <xsl:param name="LCID" />
  1412.     <xsl:variable name="_LCID">
  1413.       <xsl:call-template name="localLCID">
  1414.         <xsl:with-param name="LCID" select="$LCID"/>
  1415.       </xsl:call-template>
  1416.     </xsl:variable>
  1417.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:DirectorsShortUnCap"/>
  1418.   </xsl:template>
  1419.  
  1420.   
  1421.   <xsl:template name="templ_str_EditedByCap" >
  1422.     <xsl:param name="LCID" />
  1423.     <xsl:variable name="_LCID">
  1424.       <xsl:call-template name="localLCID">
  1425.         <xsl:with-param name="LCID" select="$LCID"/>
  1426.       </xsl:call-template>
  1427.     </xsl:variable>
  1428.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByCap"/>
  1429.   </xsl:template>
  1430.  
  1431.   
  1432.   <xsl:template name="templ_str_EditedByUnCap" >
  1433.     <xsl:param name="LCID" />
  1434.     <xsl:variable name="_LCID">
  1435.       <xsl:call-template name="localLCID">
  1436.         <xsl:with-param name="LCID" select="$LCID"/>
  1437.       </xsl:call-template>
  1438.     </xsl:variable>
  1439.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditedByUnCap"/>
  1440.   </xsl:template>
  1441.  
  1442.   
  1443.   <xsl:template name="templ_str_EditorCap" >
  1444.     <xsl:param name="LCID" />
  1445.     <xsl:variable name="_LCID">
  1446.       <xsl:call-template name="localLCID">
  1447.         <xsl:with-param name="LCID" select="$LCID"/>
  1448.       </xsl:call-template>
  1449.     </xsl:variable>
  1450.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorCap"/>
  1451.   </xsl:template>
  1452.  
  1453.   
  1454.   <xsl:template name="templ_str_EditorsCap" >
  1455.     <xsl:param name="LCID" />
  1456.     <xsl:variable name="_LCID">
  1457.       <xsl:call-template name="localLCID">
  1458.         <xsl:with-param name="LCID" select="$LCID"/>
  1459.       </xsl:call-template>
  1460.     </xsl:variable>
  1461.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsCap"/>
  1462.   </xsl:template>
  1463.  
  1464.   
  1465.   <xsl:template name="templ_str_EditorShortCap" >
  1466.     <xsl:param name="LCID" />
  1467.     <xsl:variable name="_LCID">
  1468.       <xsl:call-template name="localLCID">
  1469.         <xsl:with-param name="LCID" select="$LCID"/>
  1470.       </xsl:call-template>
  1471.     </xsl:variable>
  1472.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortCap"/>
  1473.   </xsl:template>
  1474.  
  1475.   
  1476.   <xsl:template name="templ_str_EditorShortUnCap" >
  1477.     <xsl:param name="LCID" />
  1478.     <xsl:variable name="_LCID">
  1479.       <xsl:call-template name="localLCID">
  1480.         <xsl:with-param name="LCID" select="$LCID"/>
  1481.       </xsl:call-template>
  1482.     </xsl:variable>
  1483.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorShortUnCap"/>
  1484.   </xsl:template>
  1485.  
  1486.   
  1487.   <xsl:template name="templ_str_EditorsShortCap" >
  1488.     <xsl:param name="LCID" />
  1489.     <xsl:variable name="_LCID">
  1490.       <xsl:call-template name="localLCID">
  1491.         <xsl:with-param name="LCID" select="$LCID"/>
  1492.       </xsl:call-template>
  1493.     </xsl:variable>
  1494.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortCap"/>
  1495.   </xsl:template>
  1496.  
  1497.   
  1498.   <xsl:template name="templ_str_EditorsShortUnCap" >
  1499.     <xsl:param name="LCID" />
  1500.     <xsl:variable name="_LCID">
  1501.       <xsl:call-template name="localLCID">
  1502.         <xsl:with-param name="LCID" select="$LCID"/>
  1503.       </xsl:call-template>
  1504.     </xsl:variable>
  1505.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:EditorsShortUnCap"/>
  1506.   </xsl:template>
  1507.  
  1508.   
  1509.   <xsl:template name="templ_str_IntervieweeShortUnCap" >
  1510.     <xsl:param name="LCID" />
  1511.     <xsl:variable name="_LCID">
  1512.       <xsl:call-template name="localLCID">
  1513.         <xsl:with-param name="LCID" select="$LCID"/>
  1514.       </xsl:call-template>
  1515.     </xsl:variable>
  1516.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:IntervieweeShortUnCap"/>
  1517.   </xsl:template>
  1518.  
  1519.   
  1520.   <xsl:template name="templ_str_InterviewerCap" >
  1521.     <xsl:param name="LCID" />
  1522.     <xsl:variable name="_LCID">
  1523.       <xsl:call-template name="localLCID">
  1524.         <xsl:with-param name="LCID" select="$LCID"/>
  1525.       </xsl:call-template>
  1526.     </xsl:variable>
  1527.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewerCap"/>
  1528.   </xsl:template>
  1529.  
  1530.   
  1531.   <xsl:template name="templ_str_InterviewersCap" >
  1532.     <xsl:param name="LCID" />
  1533.     <xsl:variable name="_LCID">
  1534.       <xsl:call-template name="localLCID">
  1535.         <xsl:with-param name="LCID" select="$LCID"/>
  1536.       </xsl:call-template>
  1537.     </xsl:variable>
  1538.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InterviewersCap"/>
  1539.   </xsl:template>
  1540.  
  1541.   
  1542.   <xsl:template name="templ_str_InventorShortUnCap" >
  1543.     <xsl:param name="LCID" />
  1544.     <xsl:variable name="_LCID">
  1545.       <xsl:call-template name="localLCID">
  1546.         <xsl:with-param name="LCID" select="$LCID"/>
  1547.       </xsl:call-template>
  1548.     </xsl:variable>
  1549.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:InventorShortUnCap"/>
  1550.   </xsl:template>
  1551.  
  1552.   
  1553.   <xsl:template name="templ_str_PerformedByCap" >
  1554.     <xsl:param name="LCID" />
  1555.     <xsl:variable name="_LCID">
  1556.       <xsl:call-template name="localLCID">
  1557.         <xsl:with-param name="LCID" select="$LCID"/>
  1558.       </xsl:call-template>
  1559.     </xsl:variable>
  1560.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByCap"/>
  1561.   </xsl:template>
  1562.  
  1563.   
  1564.   <xsl:template name="templ_str_PerformedByUnCap" >
  1565.     <xsl:param name="LCID" />
  1566.     <xsl:variable name="_LCID">
  1567.       <xsl:call-template name="localLCID">
  1568.         <xsl:with-param name="LCID" select="$LCID"/>
  1569.       </xsl:call-template>
  1570.     </xsl:variable>
  1571.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformedByUnCap"/>
  1572.   </xsl:template>
  1573.  
  1574.   
  1575.   <xsl:template name="templ_str_PerformerCap" >
  1576.     <xsl:param name="LCID" />
  1577.     <xsl:variable name="_LCID">
  1578.       <xsl:call-template name="localLCID">
  1579.         <xsl:with-param name="LCID" select="$LCID"/>
  1580.       </xsl:call-template>
  1581.     </xsl:variable>
  1582.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerCap"/>
  1583.   </xsl:template>
  1584.  
  1585.   
  1586.   <xsl:template name="templ_str_PerformersCap" >
  1587.     <xsl:param name="LCID" />
  1588.     <xsl:variable name="_LCID">
  1589.       <xsl:call-template name="localLCID">
  1590.         <xsl:with-param name="LCID" select="$LCID"/>
  1591.       </xsl:call-template>
  1592.     </xsl:variable>
  1593.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersCap"/>
  1594.   </xsl:template>
  1595.  
  1596.   
  1597.   <xsl:template name="templ_str_PerformerShortCap" >
  1598.     <xsl:param name="LCID" />
  1599.     <xsl:variable name="_LCID">
  1600.       <xsl:call-template name="localLCID">
  1601.         <xsl:with-param name="LCID" select="$LCID"/>
  1602.       </xsl:call-template>
  1603.     </xsl:variable>
  1604.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortCap"/>
  1605.   </xsl:template>
  1606.  
  1607.   
  1608.   <xsl:template name="templ_str_PerformerShortUnCap" >
  1609.     <xsl:param name="LCID" />
  1610.     <xsl:variable name="_LCID">
  1611.       <xsl:call-template name="localLCID">
  1612.         <xsl:with-param name="LCID" select="$LCID"/>
  1613.       </xsl:call-template>
  1614.     </xsl:variable>
  1615.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformerShortUnCap"/>
  1616.   </xsl:template>
  1617.  
  1618.   
  1619.   <xsl:template name="templ_str_PerformersShortCap" >
  1620.     <xsl:param name="LCID" />
  1621.     <xsl:variable name="_LCID">
  1622.       <xsl:call-template name="localLCID">
  1623.         <xsl:with-param name="LCID" select="$LCID"/>
  1624.       </xsl:call-template>
  1625.     </xsl:variable>
  1626.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortCap"/>
  1627.   </xsl:template>
  1628.  
  1629.   
  1630.   <xsl:template name="templ_str_PerformersShortUnCap" >
  1631.     <xsl:param name="LCID" />
  1632.     <xsl:variable name="_LCID">
  1633.       <xsl:call-template name="localLCID">
  1634.         <xsl:with-param name="LCID" select="$LCID"/>
  1635.       </xsl:call-template>
  1636.     </xsl:variable>
  1637.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:PerformersShortUnCap"/>
  1638.   </xsl:template>
  1639.  
  1640.   
  1641.   <xsl:template name="templ_str_ProducedByCap" >
  1642.     <xsl:param name="LCID" />
  1643.     <xsl:variable name="_LCID">
  1644.       <xsl:call-template name="localLCID">
  1645.         <xsl:with-param name="LCID" select="$LCID"/>
  1646.       </xsl:call-template>
  1647.     </xsl:variable>
  1648.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByCap"/>
  1649.   </xsl:template>
  1650.  
  1651.   
  1652.   <xsl:template name="templ_str_ProducedByUnCap" >
  1653.     <xsl:param name="LCID" />
  1654.     <xsl:variable name="_LCID">
  1655.       <xsl:call-template name="localLCID">
  1656.         <xsl:with-param name="LCID" select="$LCID"/>
  1657.       </xsl:call-template>
  1658.     </xsl:variable>
  1659.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducedByUnCap"/>
  1660.   </xsl:template>
  1661.  
  1662.   
  1663.   <xsl:template name="templ_str_ProducerCap" >
  1664.     <xsl:param name="LCID" />
  1665.     <xsl:variable name="_LCID">
  1666.       <xsl:call-template name="localLCID">
  1667.         <xsl:with-param name="LCID" select="$LCID"/>
  1668.       </xsl:call-template>
  1669.     </xsl:variable>
  1670.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerCap"/>
  1671.   </xsl:template>
  1672.  
  1673.   
  1674.   <xsl:template name="templ_str_ProducersCap" >
  1675.     <xsl:param name="LCID" />
  1676.     <xsl:variable name="_LCID">
  1677.       <xsl:call-template name="localLCID">
  1678.         <xsl:with-param name="LCID" select="$LCID"/>
  1679.       </xsl:call-template>
  1680.     </xsl:variable>
  1681.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersCap"/>
  1682.   </xsl:template>
  1683.  
  1684.   
  1685.   <xsl:template name="templ_str_ProductionCompanyShortCap" >
  1686.     <xsl:param name="LCID" />
  1687.     <xsl:variable name="_LCID">
  1688.       <xsl:call-template name="localLCID">
  1689.         <xsl:with-param name="LCID" select="$LCID"/>
  1690.       </xsl:call-template>
  1691.     </xsl:variable>
  1692.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProductionCompanyShortCap"/>
  1693.   </xsl:template>
  1694.  
  1695.   
  1696.   <xsl:template name="templ_str_ProducerShortCap" >
  1697.     <xsl:param name="LCID" />
  1698.     <xsl:variable name="_LCID">
  1699.       <xsl:call-template name="localLCID">
  1700.         <xsl:with-param name="LCID" select="$LCID"/>
  1701.       </xsl:call-template>
  1702.     </xsl:variable>
  1703.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortCap"/>
  1704.   </xsl:template>
  1705.  
  1706.   
  1707.   <xsl:template name="templ_str_ProducersShortCap" >
  1708.     <xsl:param name="LCID" />
  1709.     <xsl:variable name="_LCID">
  1710.       <xsl:call-template name="localLCID">
  1711.         <xsl:with-param name="LCID" select="$LCID"/>
  1712.       </xsl:call-template>
  1713.     </xsl:variable>
  1714.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducersShortCap"/>
  1715.   </xsl:template>
  1716.  
  1717.   
  1718.   <xsl:template name="templ_str_ProducerShortUnCap" >
  1719.     <xsl:param name="LCID" />
  1720.     <xsl:variable name="_LCID">
  1721.       <xsl:call-template name="localLCID">
  1722.         <xsl:with-param name="LCID" select="$LCID"/>
  1723.       </xsl:call-template>
  1724.     </xsl:variable>
  1725.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ProducerShortUnCap"/>
  1726.   </xsl:template>
  1727.  
  1728.   
  1729.   <xsl:template name="templ_str_TranslatedByCap" >
  1730.     <xsl:param name="LCID" />
  1731.     <xsl:variable name="_LCID">
  1732.       <xsl:call-template name="localLCID">
  1733.         <xsl:with-param name="LCID" select="$LCID"/>
  1734.       </xsl:call-template>
  1735.     </xsl:variable>
  1736.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByCap"/>
  1737.   </xsl:template>
  1738.  
  1739.   
  1740.   <xsl:template name="templ_str_TranslatedByUnCap" >
  1741.     <xsl:param name="LCID" />
  1742.     <xsl:variable name="_LCID">
  1743.       <xsl:call-template name="localLCID">
  1744.         <xsl:with-param name="LCID" select="$LCID"/>
  1745.       </xsl:call-template>
  1746.     </xsl:variable>
  1747.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatedByUnCap"/>
  1748.   </xsl:template>
  1749.  
  1750.   
  1751.   <xsl:template name="templ_str_TranslatorCap" >
  1752.     <xsl:param name="LCID" />
  1753.     <xsl:variable name="_LCID">
  1754.       <xsl:call-template name="localLCID">
  1755.         <xsl:with-param name="LCID" select="$LCID"/>
  1756.       </xsl:call-template>
  1757.     </xsl:variable>
  1758.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorCap"/>
  1759.   </xsl:template>
  1760.  
  1761.   
  1762.   <xsl:template name="templ_str_TranslatorsCap" >
  1763.     <xsl:param name="LCID" />
  1764.     <xsl:variable name="_LCID">
  1765.       <xsl:call-template name="localLCID">
  1766.         <xsl:with-param name="LCID" select="$LCID"/>
  1767.       </xsl:call-template>
  1768.     </xsl:variable>
  1769.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsCap"/>
  1770.   </xsl:template>
  1771.  
  1772.   
  1773.   <xsl:template name="templ_str_TranslatorShortCap" >
  1774.     <xsl:param name="LCID" />
  1775.     <xsl:variable name="_LCID">
  1776.       <xsl:call-template name="localLCID">
  1777.         <xsl:with-param name="LCID" select="$LCID"/>
  1778.       </xsl:call-template>
  1779.     </xsl:variable>
  1780.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortCap"/>
  1781.   </xsl:template>
  1782.  
  1783.   
  1784.   <xsl:template name="templ_str_TranslatorShortUnCap" >
  1785.     <xsl:param name="LCID" />
  1786.     <xsl:variable name="_LCID">
  1787.       <xsl:call-template name="localLCID">
  1788.         <xsl:with-param name="LCID" select="$LCID"/>
  1789.       </xsl:call-template>
  1790.     </xsl:variable>
  1791.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorShortUnCap"/>
  1792.   </xsl:template>
  1793.  
  1794.   
  1795.   <xsl:template name="templ_str_TranslatorsShortCap" >
  1796.     <xsl:param name="LCID" />
  1797.     <xsl:variable name="_LCID">
  1798.       <xsl:call-template name="localLCID">
  1799.         <xsl:with-param name="LCID" select="$LCID"/>
  1800.       </xsl:call-template>
  1801.     </xsl:variable>
  1802.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortCap"/>
  1803.   </xsl:template>
  1804.  
  1805.   
  1806.   <xsl:template name="templ_str_TranslatorsShortUnCap" >
  1807.     <xsl:param name="LCID" />
  1808.     <xsl:variable name="_LCID">
  1809.       <xsl:call-template name="localLCID">
  1810.         <xsl:with-param name="LCID" select="$LCID"/>
  1811.       </xsl:call-template>
  1812.     </xsl:variable>
  1813.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:TranslatorsShortUnCap"/>
  1814.   </xsl:template>
  1815.  
  1816.   
  1817.   <xsl:template name="templ_str_ComposerCap" >
  1818.     <xsl:param name="LCID" />
  1819.     <xsl:variable name="_LCID">
  1820.       <xsl:call-template name="localLCID">
  1821.         <xsl:with-param name="LCID" select="$LCID"/>
  1822.       </xsl:call-template>
  1823.     </xsl:variable>
  1824.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerCap"/>
  1825.   </xsl:template>
  1826.  
  1827.   
  1828.   <xsl:template name="templ_str_ComposersCap" >
  1829.     <xsl:param name="LCID" />
  1830.     <xsl:variable name="_LCID">
  1831.       <xsl:call-template name="localLCID">
  1832.         <xsl:with-param name="LCID" select="$LCID"/>
  1833.       </xsl:call-template>
  1834.     </xsl:variable>
  1835.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersCap"/>
  1836.   </xsl:template>
  1837.  
  1838.   
  1839.   <xsl:template name="templ_str_ComposerShortCap" >
  1840.     <xsl:param name="LCID" />
  1841.     <xsl:variable name="_LCID">
  1842.       <xsl:call-template name="localLCID">
  1843.         <xsl:with-param name="LCID" select="$LCID"/>
  1844.       </xsl:call-template>
  1845.     </xsl:variable>
  1846.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortCap"/>
  1847.   </xsl:template>
  1848.  
  1849.   
  1850.   <xsl:template name="templ_str_ComposersShortCap" >
  1851.     <xsl:param name="LCID" />
  1852.     <xsl:variable name="_LCID">
  1853.       <xsl:call-template name="localLCID">
  1854.         <xsl:with-param name="LCID" select="$LCID"/>
  1855.       </xsl:call-template>
  1856.     </xsl:variable>
  1857.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposersShortCap"/>
  1858.   </xsl:template>
  1859.  
  1860.   
  1861.   <xsl:template name="templ_str_ComposerShortUnCapIso" >
  1862.     <xsl:param name="LCID" />
  1863.     <xsl:variable name="_LCID">
  1864.       <xsl:call-template name="localLCID">
  1865.         <xsl:with-param name="LCID" select="$LCID"/>
  1866.       </xsl:call-template>
  1867.     </xsl:variable>
  1868.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:ComposerShortUnCapIso"/>
  1869.   </xsl:template>
  1870.  
  1871.   
  1872.   <xsl:template name="templ_str_CompiledByCap" >
  1873.     <xsl:param name="LCID" />
  1874.     <xsl:variable name="_LCID">
  1875.       <xsl:call-template name="localLCID">
  1876.         <xsl:with-param name="LCID" select="$LCID"/>
  1877.       </xsl:call-template>
  1878.     </xsl:variable>
  1879.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByCap"/>
  1880.   </xsl:template>
  1881.  
  1882.   
  1883.   <xsl:template name="templ_str_CompiledByUnCap" >
  1884.     <xsl:param name="LCID" />
  1885.     <xsl:variable name="_LCID">
  1886.       <xsl:call-template name="localLCID">
  1887.         <xsl:with-param name="LCID" select="$LCID"/>
  1888.       </xsl:call-template>
  1889.     </xsl:variable>
  1890.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompiledByUnCap"/>
  1891.   </xsl:template>
  1892.  
  1893.   
  1894.   <xsl:template name="templ_str_CompilerCap" >
  1895.     <xsl:param name="LCID" />
  1896.     <xsl:variable name="_LCID">
  1897.       <xsl:call-template name="localLCID">
  1898.         <xsl:with-param name="LCID" select="$LCID"/>
  1899.       </xsl:call-template>
  1900.     </xsl:variable>
  1901.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerCap"/>
  1902.   </xsl:template>
  1903.  
  1904.   
  1905.   <xsl:template name="templ_str_CompilersCap" >
  1906.     <xsl:param name="LCID" />
  1907.     <xsl:variable name="_LCID">
  1908.       <xsl:call-template name="localLCID">
  1909.         <xsl:with-param name="LCID" select="$LCID"/>
  1910.       </xsl:call-template>
  1911.     </xsl:variable>
  1912.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersCap"/>
  1913.   </xsl:template>
  1914.  
  1915.   
  1916.   <xsl:template name="templ_str_CompilerShortCap" >
  1917.     <xsl:param name="LCID" />
  1918.     <xsl:variable name="_LCID">
  1919.       <xsl:call-template name="localLCID">
  1920.         <xsl:with-param name="LCID" select="$LCID"/>
  1921.       </xsl:call-template>
  1922.     </xsl:variable>
  1923.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortCap"/>
  1924.   </xsl:template>
  1925.  
  1926.   
  1927.   <xsl:template name="templ_str_CompilerShortUnCap" >
  1928.     <xsl:param name="LCID" />
  1929.     <xsl:variable name="_LCID">
  1930.       <xsl:call-template name="localLCID">
  1931.         <xsl:with-param name="LCID" select="$LCID"/>
  1932.       </xsl:call-template>
  1933.     </xsl:variable>
  1934.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCap"/>
  1935.   </xsl:template>
  1936.  
  1937.   
  1938.   <xsl:template name="templ_str_CompilersShortCap" >
  1939.     <xsl:param name="LCID" />
  1940.     <xsl:variable name="_LCID">
  1941.       <xsl:call-template name="localLCID">
  1942.         <xsl:with-param name="LCID" select="$LCID"/>
  1943.       </xsl:call-template>
  1944.     </xsl:variable>
  1945.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortCap"/>
  1946.   </xsl:template>
  1947.  
  1948.   
  1949.   <xsl:template name="templ_str_CompilersShortUnCap" >
  1950.     <xsl:param name="LCID" />
  1951.     <xsl:variable name="_LCID">
  1952.       <xsl:call-template name="localLCID">
  1953.         <xsl:with-param name="LCID" select="$LCID"/>
  1954.       </xsl:call-template>
  1955.     </xsl:variable>
  1956.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilersShortUnCap"/>
  1957.   </xsl:template>
  1958.  
  1959.   
  1960.   <xsl:template name="templ_str_CompilerShortUnCapIso" >
  1961.     <xsl:param name="LCID" />
  1962.     <xsl:variable name="_LCID">
  1963.       <xsl:call-template name="localLCID">
  1964.         <xsl:with-param name="LCID" select="$LCID"/>
  1965.       </xsl:call-template>
  1966.     </xsl:variable>
  1967.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Strings/b:CompilerShortUnCapIso"/>
  1968.   </xsl:template>
  1969.  
  1970.  
  1971.   
  1972.  
  1973.   
  1974.   <xsl:template name="templ_prop_Culture" >
  1975.     <xsl:param name="LCID" />
  1976.     <xsl:variable name="_LCID">
  1977.       <xsl:call-template name="localLCID">
  1978.         <xsl:with-param name="LCID" select="$LCID"/>
  1979.       </xsl:call-template>
  1980.     </xsl:variable>
  1981.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/@Culture"/>
  1982.   </xsl:template>
  1983.  
  1984.   
  1985.   <xsl:template name="templ_prop_Direction" >
  1986.     <xsl:param name="LCID" />
  1987.     <xsl:variable name="_LCID">
  1988.       <xsl:call-template name="localLCID">
  1989.         <xsl:with-param name="LCID" select="$LCID"/>
  1990.       </xsl:call-template>
  1991.     </xsl:variable>
  1992.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Properties/b:Direction"/>
  1993.   </xsl:template>
  1994.  
  1995.  
  1996.   
  1997.  
  1998.   
  1999.   <xsl:template name="templ_prop_EndChars" >
  2000.     <xsl:param name="LCID" />
  2001.     <xsl:variable name="_LCID">
  2002.       <xsl:call-template name="localLCID">
  2003.         <xsl:with-param name="LCID" select="$LCID"/>
  2004.       </xsl:call-template>
  2005.     </xsl:variable>
  2006.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EndChars"/>
  2007.   </xsl:template>
  2008.  
  2009.   
  2010.   <xsl:template name="templ_prop_NormalizeSpace" >
  2011.     <xsl:param name="LCID" />
  2012.     <xsl:variable name="_LCID">
  2013.       <xsl:call-template name="localLCID">
  2014.         <xsl:with-param name="LCID" select="$LCID"/>
  2015.       </xsl:call-template>
  2016.     </xsl:variable>
  2017.     <xsl:text>no</xsl:text>
  2018.     
  2019.   </xsl:template>
  2020.  
  2021.   
  2022.   <xsl:template name="templ_prop_Space" >
  2023.     <xsl:param name="LCID" />
  2024.     <xsl:variable name="_LCID">
  2025.       <xsl:call-template name="localLCID">
  2026.         <xsl:with-param name="LCID" select="$LCID"/>
  2027.       </xsl:call-template>
  2028.     </xsl:variable>
  2029.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Space"/>
  2030.   </xsl:template>
  2031.  
  2032.   
  2033.   <xsl:template name="templ_prop_NonBreakingSpace" >
  2034.     <xsl:param name="LCID" />
  2035.     <xsl:variable name="_LCID">
  2036.       <xsl:call-template name="localLCID">
  2037.         <xsl:with-param name="LCID" select="$LCID"/>
  2038.       </xsl:call-template>
  2039.     </xsl:variable>
  2040.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NonBreakingSpace"/>
  2041.   </xsl:template>
  2042.  
  2043.   
  2044.   <xsl:template name="templ_prop_ListSeparator" >
  2045.     <xsl:param name="LCID" />
  2046.     <xsl:variable name="_LCID">
  2047.       <xsl:call-template name="localLCID">
  2048.         <xsl:with-param name="LCID" select="$LCID"/>
  2049.       </xsl:call-template>
  2050.     </xsl:variable>
  2051.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:ListSeparator"/>
  2052.   </xsl:template>
  2053.  
  2054.   
  2055.   <xsl:template name="templ_prop_Dot" >
  2056.     <xsl:param name="LCID" />
  2057.     <xsl:variable name="_LCID">
  2058.       <xsl:call-template name="localLCID">
  2059.         <xsl:with-param name="LCID" select="$LCID"/>
  2060.       </xsl:call-template>
  2061.     </xsl:variable>
  2062.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Dot"/>
  2063.   </xsl:template>
  2064.  
  2065.   
  2066.   <xsl:template name="templ_prop_DotInitial" >
  2067.     <xsl:param name="LCID" />
  2068.     <xsl:variable name="_LCID">
  2069.       <xsl:call-template name="localLCID">
  2070.         <xsl:with-param name="LCID" select="$LCID"/>
  2071.       </xsl:call-template>
  2072.     </xsl:variable>
  2073.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:DotInitial"/>
  2074.   </xsl:template>
  2075.  
  2076.   
  2077.   <xsl:template name="templ_prop_GroupSeparator" >
  2078.     <xsl:param name="LCID" />
  2079.     <xsl:variable name="_LCID">
  2080.       <xsl:call-template name="localLCID">
  2081.         <xsl:with-param name="LCID" select="$LCID"/>
  2082.       </xsl:call-template>
  2083.     </xsl:variable>
  2084.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:GroupSeparator"/>
  2085.   </xsl:template>
  2086.  
  2087.   
  2088.   <xsl:template name="templ_prop_EnumSeparator" >
  2089.     <xsl:param name="LCID" />
  2090.     <xsl:variable name="_LCID">
  2091.       <xsl:call-template name="localLCID">
  2092.         <xsl:with-param name="LCID" select="$LCID"/>
  2093.       </xsl:call-template>
  2094.     </xsl:variable>
  2095.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:EnumSeparator"/>
  2096.   </xsl:template>
  2097.  
  2098.   
  2099.   <xsl:template name="templ_prop_Equal" >
  2100.     <xsl:param name="LCID" />
  2101.     <xsl:variable name="_LCID">
  2102.       <xsl:call-template name="localLCID">
  2103.         <xsl:with-param name="LCID" select="$LCID"/>
  2104.       </xsl:call-template>
  2105.     </xsl:variable>
  2106.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Equal"/>
  2107.   </xsl:template>
  2108.  
  2109.   
  2110.   <xsl:template name="templ_prop_Enum" >
  2111.     <xsl:param name="LCID" />
  2112.     <xsl:variable name="_LCID">
  2113.       <xsl:call-template name="localLCID">
  2114.         <xsl:with-param name="LCID" select="$LCID"/>
  2115.       </xsl:call-template>
  2116.     </xsl:variable>
  2117.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Enum"/>
  2118.   </xsl:template>
  2119.  
  2120.   
  2121.   <xsl:template name="templ_prop_OpenQuote" >
  2122.     <xsl:param name="LCID" />
  2123.     <xsl:variable name="_LCID">
  2124.       <xsl:call-template name="localLCID">
  2125.         <xsl:with-param name="LCID" select="$LCID"/>
  2126.       </xsl:call-template>
  2127.     </xsl:variable>
  2128.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenQuote"/>
  2129.   </xsl:template>
  2130.  
  2131.   
  2132.   <xsl:template name="templ_prop_CloseQuote" >
  2133.     <xsl:param name="LCID" />
  2134.     <xsl:variable name="_LCID">
  2135.       <xsl:call-template name="localLCID">
  2136.         <xsl:with-param name="LCID" select="$LCID"/>
  2137.       </xsl:call-template>
  2138.     </xsl:variable>
  2139.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseQuote"/>
  2140.   </xsl:template>
  2141.  
  2142.   
  2143.   <xsl:template name="templ_prop_OpenBracket" >
  2144.     <xsl:param name="LCID" />
  2145.     <xsl:variable name="_LCID">
  2146.       <xsl:call-template name="localLCID">
  2147.         <xsl:with-param name="LCID" select="$LCID"/>
  2148.       </xsl:call-template>
  2149.     </xsl:variable>
  2150.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenBracket"/>
  2151.   </xsl:template>
  2152.  
  2153.   
  2154.   <xsl:template name="templ_prop_CloseBracket" >
  2155.     <xsl:param name="LCID" />
  2156.     <xsl:variable name="_LCID">
  2157.       <xsl:call-template name="localLCID">
  2158.         <xsl:with-param name="LCID" select="$LCID"/>
  2159.       </xsl:call-template>
  2160.     </xsl:variable>
  2161.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseBracket"/>
  2162.   </xsl:template>
  2163.  
  2164.   
  2165.   <xsl:template name="templ_prop_FromToDash" >
  2166.     <xsl:param name="LCID" />
  2167.     <xsl:variable name="_LCID">
  2168.       <xsl:call-template name="localLCID">
  2169.         <xsl:with-param name="LCID" select="$LCID"/>
  2170.       </xsl:call-template>
  2171.     </xsl:variable>
  2172.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:FromToDash"/>
  2173.   </xsl:template>
  2174.  
  2175.   
  2176.   <xsl:template name="templ_prop_OpenLink" >
  2177.     <xsl:param name="LCID" />
  2178.     <xsl:variable name="_LCID">
  2179.       <xsl:call-template name="localLCID">
  2180.         <xsl:with-param name="LCID" select="$LCID"/>
  2181.       </xsl:call-template>
  2182.     </xsl:variable>
  2183.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:OpenLink"/>
  2184.   </xsl:template>
  2185.  
  2186.   
  2187.   <xsl:template name="templ_prop_CloseLink" >
  2188.     <xsl:param name="LCID" />
  2189.     <xsl:variable name="_LCID">
  2190.       <xsl:call-template name="localLCID">
  2191.         <xsl:with-param name="LCID" select="$LCID"/>
  2192.       </xsl:call-template>
  2193.     </xsl:variable>
  2194.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:CloseLink"/>
  2195.   </xsl:template>
  2196.  
  2197.   
  2198.   <xsl:template name="templ_prop_AuthorsSeparator" >
  2199.     <xsl:param name="LCID" />
  2200.     <xsl:variable name="_LCID">
  2201.       <xsl:call-template name="localLCID">
  2202.         <xsl:with-param name="LCID" select="$LCID"/>
  2203.       </xsl:call-template>
  2204.     </xsl:variable>
  2205.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:AuthorsSeparator"/>
  2206.   </xsl:template>
  2207.  
  2208.   
  2209.   <xsl:template name="templ_prop_NoAndBeforeLastAuthor" >
  2210.     <xsl:param name="LCID" />
  2211.     <xsl:variable name="_LCID">
  2212.       <xsl:call-template name="localLCID">
  2213.         <xsl:with-param name="LCID" select="$LCID"/>
  2214.       </xsl:call-template>
  2215.     </xsl:variable>
  2216.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:NoAndBeforeLastAuthor"/>
  2217.   </xsl:template>
  2218.  
  2219.   
  2220.   <xsl:template name="templ_prop_SimpleAuthor_F" >
  2221.   <xsl:text>%F</xsl:text>
  2222.   
  2223.   </xsl:template>
  2224.  
  2225.   
  2226.   <xsl:template name="templ_prop_SimpleAuthor_M" >
  2227.   <xsl:text>%M</xsl:text>
  2228.   
  2229.   </xsl:template>
  2230.  
  2231.   
  2232.   <xsl:template name="templ_prop_SimpleAuthor_L" >
  2233.   <xsl:text>%L</xsl:text>
  2234.   
  2235.   </xsl:template>
  2236.  
  2237.   
  2238.   <xsl:template name="templ_prop_SimpleDate_D" >
  2239.   <xsl:text>%D</xsl:text>
  2240.   
  2241.   </xsl:template>
  2242.  
  2243.   
  2244.   <xsl:template name="templ_prop_SimpleDate_M" >
  2245.   <xsl:text>%M</xsl:text>
  2246.   
  2247.   </xsl:template>
  2248.  
  2249.   
  2250.   <xsl:template name="templ_prop_SimpleDate_Y" >
  2251.   <xsl:text>%Y</xsl:text>
  2252.   
  2253.   </xsl:template>
  2254.  
  2255.   
  2256.   <xsl:template name="templ_prop_MLA_SameAuthor" >
  2257.     <xsl:param name="LCID" />
  2258.     <xsl:variable name="_LCID">
  2259.       <xsl:call-template name="localLCID">
  2260.         <xsl:with-param name="LCID" select="$LCID"/>
  2261.       </xsl:call-template>
  2262.     </xsl:variable>
  2263.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SameAuthor"/>
  2264.   </xsl:template>
  2265.  
  2266.   
  2267.   <xsl:template name="templ_prop_MLA_MainAuthor_FML" >
  2268.     <xsl:param name="LCID" />
  2269.     <xsl:variable name="_LCID">
  2270.       <xsl:call-template name="localLCID">
  2271.         <xsl:with-param name="LCID" select="$LCID"/>
  2272.       </xsl:call-template>
  2273.     </xsl:variable>
  2274.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FML"/>
  2275.   </xsl:template>
  2276.  
  2277.   
  2278.   <xsl:template name="templ_prop_MLA_MainAuthor_FM" >
  2279.     <xsl:param name="LCID" />
  2280.     <xsl:variable name="_LCID">
  2281.       <xsl:call-template name="localLCID">
  2282.         <xsl:with-param name="LCID" select="$LCID"/>
  2283.       </xsl:call-template>
  2284.     </xsl:variable>
  2285.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FM"/>
  2286.   </xsl:template>
  2287.  
  2288.   
  2289.   <xsl:template name="templ_prop_MLA_MainAuthor_ML" >
  2290.     <xsl:param name="LCID" />
  2291.     <xsl:variable name="_LCID">
  2292.       <xsl:call-template name="localLCID">
  2293.         <xsl:with-param name="LCID" select="$LCID"/>
  2294.       </xsl:call-template>
  2295.     </xsl:variable>
  2296.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:ML"/>
  2297.   </xsl:template>
  2298.  
  2299.   
  2300.   <xsl:template name="templ_prop_MLA_MainAuthor_FL" >
  2301.     <xsl:param name="LCID" />
  2302.     <xsl:variable name="_LCID">
  2303.       <xsl:call-template name="localLCID">
  2304.         <xsl:with-param name="LCID" select="$LCID"/>
  2305.       </xsl:call-template>
  2306.     </xsl:variable>
  2307.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:MainAuthor/b:FL"/>
  2308.   </xsl:template>
  2309.  
  2310.   
  2311.   <xsl:template name="templ_prop_MLA_OtherAuthors_FML" >
  2312.     <xsl:param name="LCID" />
  2313.     <xsl:variable name="_LCID">
  2314.       <xsl:call-template name="localLCID">
  2315.         <xsl:with-param name="LCID" select="$LCID"/>
  2316.       </xsl:call-template>
  2317.     </xsl:variable>
  2318.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FML"/>
  2319.   </xsl:template>
  2320.  
  2321.   
  2322.   <xsl:template name="templ_prop_MLA_OtherAuthors_FM" >
  2323.     <xsl:param name="LCID" />
  2324.     <xsl:variable name="_LCID">
  2325.       <xsl:call-template name="localLCID">
  2326.         <xsl:with-param name="LCID" select="$LCID"/>
  2327.       </xsl:call-template>
  2328.     </xsl:variable>
  2329.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FM"/>
  2330.   </xsl:template>
  2331.  
  2332.   
  2333.   <xsl:template name="templ_prop_MLA_OtherAuthors_ML" >
  2334.     <xsl:param name="LCID" />
  2335.     <xsl:variable name="_LCID">
  2336.       <xsl:call-template name="localLCID">
  2337.         <xsl:with-param name="LCID" select="$LCID"/>
  2338.       </xsl:call-template>
  2339.     </xsl:variable>
  2340.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:ML"/>
  2341.   </xsl:template>
  2342.  
  2343.   
  2344.   <xsl:template name="templ_prop_MLA_OtherAuthors_FL" >
  2345.     <xsl:param name="LCID" />
  2346.     <xsl:variable name="_LCID">
  2347.       <xsl:call-template name="localLCID">
  2348.         <xsl:with-param name="LCID" select="$LCID"/>
  2349.       </xsl:call-template>
  2350.     </xsl:variable>
  2351.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:OtherAuthors/b:FL"/>
  2352.   </xsl:template>
  2353.  
  2354.   
  2355.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FML" >
  2356.     <xsl:param name="LCID" />
  2357.     <xsl:variable name="_LCID">
  2358.       <xsl:call-template name="localLCID">
  2359.         <xsl:with-param name="LCID" select="$LCID"/>
  2360.       </xsl:call-template>
  2361.     </xsl:variable>
  2362.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FML"/>
  2363.   </xsl:template>
  2364.  
  2365.   
  2366.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FM" >
  2367.     <xsl:param name="LCID" />
  2368.     <xsl:variable name="_LCID">
  2369.       <xsl:call-template name="localLCID">
  2370.         <xsl:with-param name="LCID" select="$LCID"/>
  2371.       </xsl:call-template>
  2372.     </xsl:variable>
  2373.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FM"/>
  2374.   </xsl:template>
  2375.  
  2376.   
  2377.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_ML" >
  2378.     <xsl:param name="LCID" />
  2379.     <xsl:variable name="_LCID">
  2380.       <xsl:call-template name="localLCID">
  2381.         <xsl:with-param name="LCID" select="$LCID"/>
  2382.       </xsl:call-template>
  2383.     </xsl:variable>
  2384.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:ML"/>
  2385.   </xsl:template>
  2386.  
  2387.   
  2388.   <xsl:template name="templ_prop_MLA_SecondaryAuthors_FL" >
  2389.     <xsl:param name="LCID" />
  2390.     <xsl:variable name="_LCID">
  2391.       <xsl:call-template name="localLCID">
  2392.         <xsl:with-param name="LCID" select="$LCID"/>
  2393.       </xsl:call-template>
  2394.     </xsl:variable>
  2395.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:SecondaryAuthors/b:FL"/>
  2396.   </xsl:template>
  2397.  
  2398.   
  2399.   <xsl:template name="templ_prop_MLA_Date_DMY" >
  2400.     <xsl:param name="LCID" />
  2401.     <xsl:variable name="_LCID">
  2402.       <xsl:call-template name="localLCID">
  2403.         <xsl:with-param name="LCID" select="$LCID"/>
  2404.       </xsl:call-template>
  2405.     </xsl:variable>
  2406.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DMY"/>
  2407.   </xsl:template>
  2408.  
  2409.   
  2410.   <xsl:template name="templ_prop_MLA_Date_DM" >
  2411.     <xsl:param name="LCID" />
  2412.     <xsl:variable name="_LCID">
  2413.       <xsl:call-template name="localLCID">
  2414.         <xsl:with-param name="LCID" select="$LCID"/>
  2415.       </xsl:call-template>
  2416.     </xsl:variable>
  2417.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DM"/>
  2418.   </xsl:template>
  2419.  
  2420.   
  2421.   <xsl:template name="templ_prop_MLA_Date_MY" >
  2422.     <xsl:param name="LCID" />
  2423.     <xsl:variable name="_LCID">
  2424.       <xsl:call-template name="localLCID">
  2425.         <xsl:with-param name="LCID" select="$LCID"/>
  2426.       </xsl:call-template>
  2427.     </xsl:variable>
  2428.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:MY"/>
  2429.   </xsl:template>
  2430.  
  2431.   
  2432.   <xsl:template name="templ_prop_MLA_Date_DY" >
  2433.     <xsl:param name="LCID" />
  2434.     <xsl:variable name="_LCID">
  2435.       <xsl:call-template name="localLCID">
  2436.         <xsl:with-param name="LCID" select="$LCID"/>
  2437.       </xsl:call-template>
  2438.     </xsl:variable>
  2439.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:MLA/b:Date/b:DY"/>
  2440.   </xsl:template>
  2441.  
  2442.   
  2443.   <xsl:template name="templ_prop_APA_MainAuthors_FML" >
  2444.     <xsl:param name="LCID" />
  2445.     <xsl:variable name="_LCID">
  2446.       <xsl:call-template name="localLCID">
  2447.         <xsl:with-param name="LCID" select="$LCID"/>
  2448.       </xsl:call-template>
  2449.     </xsl:variable>
  2450.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FML"/>
  2451.   </xsl:template>
  2452.  
  2453.   
  2454.   <xsl:template name="templ_prop_APA_MainAuthors_FM" >
  2455.     <xsl:param name="LCID" />
  2456.     <xsl:variable name="_LCID">
  2457.       <xsl:call-template name="localLCID">
  2458.         <xsl:with-param name="LCID" select="$LCID"/>
  2459.       </xsl:call-template>
  2460.     </xsl:variable>
  2461.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FM"/>
  2462.   </xsl:template>
  2463.  
  2464.   
  2465.   <xsl:template name="templ_prop_APA_MainAuthors_ML" >
  2466.     <xsl:param name="LCID" />
  2467.     <xsl:variable name="_LCID">
  2468.       <xsl:call-template name="localLCID">
  2469.         <xsl:with-param name="LCID" select="$LCID"/>
  2470.       </xsl:call-template>
  2471.     </xsl:variable>
  2472.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:ML"/>
  2473.   </xsl:template>
  2474.  
  2475.   
  2476.   <xsl:template name="templ_prop_APA_MainAuthors_FL" >
  2477.     <xsl:param name="LCID" />
  2478.     <xsl:variable name="_LCID">
  2479.       <xsl:call-template name="localLCID">
  2480.         <xsl:with-param name="LCID" select="$LCID"/>
  2481.       </xsl:call-template>
  2482.     </xsl:variable>
  2483.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:MainAuthors/b:FL"/>
  2484.   </xsl:template>
  2485.  
  2486.   
  2487.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FML" >
  2488.     <xsl:param name="LCID" />
  2489.     <xsl:variable name="_LCID">
  2490.       <xsl:call-template name="localLCID">
  2491.         <xsl:with-param name="LCID" select="$LCID"/>
  2492.       </xsl:call-template>
  2493.     </xsl:variable>
  2494.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FML"/>
  2495.   </xsl:template>
  2496.  
  2497.   
  2498.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FM" >
  2499.     <xsl:param name="LCID" />
  2500.     <xsl:variable name="_LCID">
  2501.       <xsl:call-template name="localLCID">
  2502.         <xsl:with-param name="LCID" select="$LCID"/>
  2503.       </xsl:call-template>
  2504.     </xsl:variable>
  2505.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FM"/>
  2506.   </xsl:template>
  2507.  
  2508.   
  2509.   <xsl:template name="templ_prop_APA_SecondaryAuthors_ML" >
  2510.     <xsl:param name="LCID" />
  2511.     <xsl:variable name="_LCID">
  2512.       <xsl:call-template name="localLCID">
  2513.         <xsl:with-param name="LCID" select="$LCID"/>
  2514.       </xsl:call-template>
  2515.     </xsl:variable>
  2516.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:ML"/>
  2517.   </xsl:template>
  2518.  
  2519.   
  2520.   <xsl:template name="templ_prop_APA_SecondaryAuthors_FL" >
  2521.     <xsl:param name="LCID" />
  2522.     <xsl:variable name="_LCID">
  2523.       <xsl:call-template name="localLCID">
  2524.         <xsl:with-param name="LCID" select="$LCID"/>
  2525.       </xsl:call-template>
  2526.     </xsl:variable>
  2527.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryAuthors/b:FL"/>
  2528.   </xsl:template>
  2529.  
  2530.   
  2531.   <xsl:template name="templ_prop_APA_BeforeLastAuthor" >
  2532.     <xsl:param name="LCID" />
  2533.     <xsl:variable name="_LCID">
  2534.       <xsl:call-template name="localLCID">
  2535.         <xsl:with-param name="LCID" select="$LCID"/>
  2536.       </xsl:call-template>
  2537.     </xsl:variable>
  2538.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:BeforeLastAuthor"/>
  2539.   </xsl:template>
  2540.  
  2541.   
  2542.   <xsl:template name="templ_prop_APA_GeneralOpen" >
  2543.     <xsl:param name="LCID" />
  2544.     <xsl:variable name="_LCID">
  2545.       <xsl:call-template name="localLCID">
  2546.         <xsl:with-param name="LCID" select="$LCID"/>
  2547.       </xsl:call-template>
  2548.     </xsl:variable>
  2549.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralOpen"/>
  2550.   </xsl:template>
  2551.  
  2552.   
  2553.   <xsl:template name="templ_prop_APA_GeneralClose" >
  2554.     <xsl:param name="LCID" />
  2555.     <xsl:variable name="_LCID">
  2556.       <xsl:call-template name="localLCID">
  2557.         <xsl:with-param name="LCID" select="$LCID"/>
  2558.       </xsl:call-template>
  2559.     </xsl:variable>
  2560.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:GeneralClose"/>
  2561.   </xsl:template>
  2562.  
  2563.   
  2564.   <xsl:template name="templ_prop_APA_SecondaryOpen" >
  2565.     <xsl:param name="LCID" />
  2566.     <xsl:variable name="_LCID">
  2567.       <xsl:call-template name="localLCID">
  2568.         <xsl:with-param name="LCID" select="$LCID"/>
  2569.       </xsl:call-template>
  2570.     </xsl:variable>
  2571.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryOpen"/>
  2572.   </xsl:template>
  2573.  
  2574.   
  2575.   <xsl:template name="templ_prop_APA_SecondaryClose" >
  2576.     <xsl:param name="LCID" />
  2577.     <xsl:variable name="_LCID">
  2578.       <xsl:call-template name="localLCID">
  2579.         <xsl:with-param name="LCID" select="$LCID"/>
  2580.       </xsl:call-template>
  2581.     </xsl:variable>
  2582.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:SecondaryClose"/>
  2583.   </xsl:template>
  2584.  
  2585.   
  2586.   <xsl:template name="templ_prop_Hyphens" >
  2587.     <xsl:param name="LCID" />
  2588.     <xsl:variable name="_LCID">
  2589.       <xsl:call-template name="localLCID">
  2590.         <xsl:with-param name="LCID" select="$LCID"/>
  2591.       </xsl:call-template>
  2592.     </xsl:variable>
  2593.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:General/b:Hyphens"/>
  2594.   </xsl:template>
  2595.  
  2596.   
  2597.   <xsl:template name="templ_prop_APA_Date_DMY" >
  2598.     <xsl:param name="LCID" />
  2599.     <xsl:variable name="_LCID">
  2600.       <xsl:call-template name="localLCID">
  2601.         <xsl:with-param name="LCID" select="$LCID"/>
  2602.       </xsl:call-template>
  2603.     </xsl:variable>
  2604.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DMY"/>
  2605.   </xsl:template>
  2606.  
  2607.   
  2608.   <xsl:template name="templ_prop_APA_Date_DM" >
  2609.     <xsl:param name="LCID" />
  2610.     <xsl:variable name="_LCID">
  2611.       <xsl:call-template name="localLCID">
  2612.         <xsl:with-param name="LCID" select="$LCID"/>
  2613.       </xsl:call-template>
  2614.     </xsl:variable>
  2615.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DM"/>
  2616.   </xsl:template>
  2617.  
  2618.   
  2619.   <xsl:template name="templ_prop_APA_Date_MY" >
  2620.     <xsl:param name="LCID" />
  2621.     <xsl:variable name="_LCID">
  2622.       <xsl:call-template name="localLCID">
  2623.         <xsl:with-param name="LCID" select="$LCID"/>
  2624.       </xsl:call-template>
  2625.     </xsl:variable>
  2626.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:MY"/>
  2627.   </xsl:template>
  2628.  
  2629.   
  2630.   <xsl:template name="templ_prop_APA_Date_DY" >
  2631.     <xsl:param name="LCID" />
  2632.     <xsl:variable name="_LCID">
  2633.       <xsl:call-template name="localLCID">
  2634.         <xsl:with-param name="LCID" select="$LCID"/>
  2635.       </xsl:call-template>
  2636.     </xsl:variable>
  2637.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:Date/b:DY"/>
  2638.   </xsl:template>
  2639.  
  2640.   
  2641.   <xsl:template name="templ_prop_APA_DateAccessed_DMY" >
  2642.     <xsl:param name="LCID" />
  2643.     <xsl:variable name="_LCID">
  2644.       <xsl:call-template name="localLCID">
  2645.         <xsl:with-param name="LCID" select="$LCID"/>
  2646.       </xsl:call-template>
  2647.     </xsl:variable>
  2648.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DMY"/>
  2649.   </xsl:template>
  2650.  
  2651.   
  2652.   <xsl:template name="templ_prop_APA_DateAccessed_DM" >
  2653.     <xsl:param name="LCID" />
  2654.     <xsl:variable name="_LCID">
  2655.       <xsl:call-template name="localLCID">
  2656.         <xsl:with-param name="LCID" select="$LCID"/>
  2657.       </xsl:call-template>
  2658.     </xsl:variable>
  2659.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DM"/>
  2660.   </xsl:template>
  2661.  
  2662.   
  2663.   <xsl:template name="templ_prop_APA_DateAccessed_MY" >
  2664.     <xsl:param name="LCID" />
  2665.     <xsl:variable name="_LCID">
  2666.       <xsl:call-template name="localLCID">
  2667.         <xsl:with-param name="LCID" select="$LCID"/>
  2668.       </xsl:call-template>
  2669.     </xsl:variable>
  2670.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:MY"/>
  2671.   </xsl:template>
  2672.  
  2673.   
  2674.   <xsl:template name="templ_prop_APA_DateAccessed_DY" >
  2675.     <xsl:param name="LCID" />
  2676.     <xsl:variable name="_LCID">
  2677.       <xsl:call-template name="localLCID">
  2678.         <xsl:with-param name="LCID" select="$LCID"/>
  2679.       </xsl:call-template>
  2680.     </xsl:variable>
  2681.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateAccessed/b:DY"/>
  2682.   </xsl:template>
  2683.  
  2684.   
  2685.   <xsl:template name="templ_prop_APA_DateCourt_DMY" >
  2686.     <xsl:param name="LCID" />
  2687.     <xsl:variable name="_LCID">
  2688.       <xsl:call-template name="localLCID">
  2689.         <xsl:with-param name="LCID" select="$LCID"/>
  2690.       </xsl:call-template>
  2691.     </xsl:variable>
  2692.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DMY"/>
  2693.   </xsl:template>
  2694.  
  2695.   
  2696.   <xsl:template name="templ_prop_APA_DateCourt_DM" >
  2697.     <xsl:param name="LCID" />
  2698.     <xsl:variable name="_LCID">
  2699.       <xsl:call-template name="localLCID">
  2700.         <xsl:with-param name="LCID" select="$LCID"/>
  2701.       </xsl:call-template>
  2702.     </xsl:variable>
  2703.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DM"/>
  2704.   </xsl:template>
  2705.  
  2706.   
  2707.   <xsl:template name="templ_prop_APA_DateCourt_MY" >
  2708.     <xsl:param name="LCID" />
  2709.     <xsl:variable name="_LCID">
  2710.       <xsl:call-template name="localLCID">
  2711.         <xsl:with-param name="LCID" select="$LCID"/>
  2712.       </xsl:call-template>
  2713.     </xsl:variable>
  2714.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:MY"/>
  2715.   </xsl:template>
  2716.  
  2717.   
  2718.   <xsl:template name="templ_prop_APA_DateCourt_DY" >
  2719.     <xsl:param name="LCID" />
  2720.     <xsl:variable name="_LCID">
  2721.       <xsl:call-template name="localLCID">
  2722.         <xsl:with-param name="LCID" select="$LCID"/>
  2723.       </xsl:call-template>
  2724.     </xsl:variable>
  2725.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:APA/b:DateCourt/b:DY"/>
  2726.   </xsl:template>
  2727.  
  2728.   
  2729.   <xsl:template name="templ_prop_Chicago_SameAuthor" >
  2730.     <xsl:param name="LCID" />
  2731.     <xsl:variable name="_LCID">
  2732.       <xsl:call-template name="localLCID">
  2733.         <xsl:with-param name="LCID" select="$LCID"/>
  2734.       </xsl:call-template>
  2735.     </xsl:variable>
  2736.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SameAuthor"/>
  2737.   </xsl:template>
  2738.  
  2739.   
  2740.   <xsl:template name="templ_prop_Chicago_MainAuthor_FML" >
  2741.     <xsl:param name="LCID" />
  2742.     <xsl:variable name="_LCID">
  2743.       <xsl:call-template name="localLCID">
  2744.         <xsl:with-param name="LCID" select="$LCID"/>
  2745.       </xsl:call-template>
  2746.     </xsl:variable>
  2747.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FML"/>
  2748.   </xsl:template>
  2749.  
  2750.   
  2751.   <xsl:template name="templ_prop_Chicago_MainAuthor_FM" >
  2752.     <xsl:param name="LCID" />
  2753.     <xsl:variable name="_LCID">
  2754.       <xsl:call-template name="localLCID">
  2755.         <xsl:with-param name="LCID" select="$LCID"/>
  2756.       </xsl:call-template>
  2757.     </xsl:variable>
  2758.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FM"/>
  2759.   </xsl:template>
  2760.  
  2761.   
  2762.   <xsl:template name="templ_prop_Chicago_MainAuthor_ML" >
  2763.     <xsl:param name="LCID" />
  2764.     <xsl:variable name="_LCID">
  2765.       <xsl:call-template name="localLCID">
  2766.         <xsl:with-param name="LCID" select="$LCID"/>
  2767.       </xsl:call-template>
  2768.     </xsl:variable>
  2769.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:ML"/>
  2770.   </xsl:template>
  2771.  
  2772.   
  2773.   <xsl:template name="templ_prop_Chicago_MainAuthor_FL" >
  2774.     <xsl:param name="LCID" />
  2775.     <xsl:variable name="_LCID">
  2776.       <xsl:call-template name="localLCID">
  2777.         <xsl:with-param name="LCID" select="$LCID"/>
  2778.       </xsl:call-template>
  2779.     </xsl:variable>
  2780.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:MainAuthor/b:FL"/>
  2781.   </xsl:template>
  2782.  
  2783.   
  2784.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FML" >
  2785.     <xsl:param name="LCID" />
  2786.     <xsl:variable name="_LCID">
  2787.       <xsl:call-template name="localLCID">
  2788.         <xsl:with-param name="LCID" select="$LCID"/>
  2789.       </xsl:call-template>
  2790.     </xsl:variable>
  2791.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FML"/>
  2792.   </xsl:template>
  2793.  
  2794.   
  2795.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FM" >
  2796.     <xsl:param name="LCID" />
  2797.     <xsl:variable name="_LCID">
  2798.       <xsl:call-template name="localLCID">
  2799.         <xsl:with-param name="LCID" select="$LCID"/>
  2800.       </xsl:call-template>
  2801.     </xsl:variable>
  2802.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FM"/>
  2803.   </xsl:template>
  2804.  
  2805.   
  2806.   <xsl:template name="templ_prop_Chicago_OtherAuthors_ML" >
  2807.     <xsl:param name="LCID" />
  2808.     <xsl:variable name="_LCID">
  2809.       <xsl:call-template name="localLCID">
  2810.         <xsl:with-param name="LCID" select="$LCID"/>
  2811.       </xsl:call-template>
  2812.     </xsl:variable>
  2813.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:ML"/>
  2814.   </xsl:template>
  2815.  
  2816.   
  2817.   <xsl:template name="templ_prop_Chicago_OtherAuthors_FL" >
  2818.     <xsl:param name="LCID" />
  2819.     <xsl:variable name="_LCID">
  2820.       <xsl:call-template name="localLCID">
  2821.         <xsl:with-param name="LCID" select="$LCID"/>
  2822.       </xsl:call-template>
  2823.     </xsl:variable>
  2824.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:OtherAuthors/b:FL"/>
  2825.   </xsl:template>
  2826.  
  2827.   
  2828.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FML" >
  2829.     <xsl:param name="LCID" />
  2830.     <xsl:variable name="_LCID">
  2831.       <xsl:call-template name="localLCID">
  2832.         <xsl:with-param name="LCID" select="$LCID"/>
  2833.       </xsl:call-template>
  2834.     </xsl:variable>
  2835.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FML"/>
  2836.   </xsl:template>
  2837.  
  2838.   
  2839.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FM" >
  2840.     <xsl:param name="LCID" />
  2841.     <xsl:variable name="_LCID">
  2842.       <xsl:call-template name="localLCID">
  2843.         <xsl:with-param name="LCID" select="$LCID"/>
  2844.       </xsl:call-template>
  2845.     </xsl:variable>
  2846.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FM"/>
  2847.   </xsl:template>
  2848.  
  2849.   
  2850.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_ML" >
  2851.     <xsl:param name="LCID" />
  2852.     <xsl:variable name="_LCID">
  2853.       <xsl:call-template name="localLCID">
  2854.         <xsl:with-param name="LCID" select="$LCID"/>
  2855.       </xsl:call-template>
  2856.     </xsl:variable>
  2857.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:ML"/>
  2858.   </xsl:template>
  2859.  
  2860.   
  2861.   <xsl:template name="templ_prop_Chicago_SecondaryAuthors_FL" >
  2862.     <xsl:param name="LCID" />
  2863.     <xsl:variable name="_LCID">
  2864.       <xsl:call-template name="localLCID">
  2865.         <xsl:with-param name="LCID" select="$LCID"/>
  2866.       </xsl:call-template>
  2867.     </xsl:variable>
  2868.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:SecondaryAuthors/b:FL"/>
  2869.   </xsl:template>
  2870.  
  2871.   
  2872.   <xsl:template name="templ_prop_Chicago_Date_DMY" >
  2873.     <xsl:param name="LCID" />
  2874.     <xsl:variable name="_LCID">
  2875.       <xsl:call-template name="localLCID">
  2876.         <xsl:with-param name="LCID" select="$LCID"/>
  2877.       </xsl:call-template>
  2878.     </xsl:variable>
  2879.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DMY"/>
  2880.   </xsl:template>
  2881.  
  2882.   
  2883.   <xsl:template name="templ_prop_Chicago_Date_DM" >
  2884.     <xsl:param name="LCID" />
  2885.     <xsl:variable name="_LCID">
  2886.       <xsl:call-template name="localLCID">
  2887.         <xsl:with-param name="LCID" select="$LCID"/>
  2888.       </xsl:call-template>
  2889.     </xsl:variable>
  2890.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DM"/>
  2891.   </xsl:template>
  2892.  
  2893.   
  2894.   <xsl:template name="templ_prop_Chicago_Date_MY" >
  2895.     <xsl:param name="LCID" />
  2896.     <xsl:variable name="_LCID">
  2897.       <xsl:call-template name="localLCID">
  2898.         <xsl:with-param name="LCID" select="$LCID"/>
  2899.       </xsl:call-template>
  2900.     </xsl:variable>
  2901.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:MY"/>
  2902.   </xsl:template>
  2903.  
  2904.   
  2905.   <xsl:template name="templ_prop_Chicago_Date_DY" >
  2906.     <xsl:param name="LCID" />
  2907.     <xsl:variable name="_LCID">
  2908.       <xsl:call-template name="localLCID">
  2909.         <xsl:with-param name="LCID" select="$LCID"/>
  2910.       </xsl:call-template>
  2911.     </xsl:variable>
  2912.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Chicago/b:Date/b:DY"/>
  2913.   </xsl:template>
  2914.  
  2915.   
  2916.   <xsl:template name="templ_prop_ISO690_MainAuthors_FML" >
  2917.     <xsl:param name="LCID" />
  2918.     <xsl:variable name="_LCID">
  2919.       <xsl:call-template name="localLCID">
  2920.         <xsl:with-param name="LCID" select="$LCID"/>
  2921.       </xsl:call-template>
  2922.     </xsl:variable>
  2923.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FML"/>
  2924.   </xsl:template>
  2925.  
  2926.   
  2927.   <xsl:template name="templ_prop_ISO690_MainAuthors_FM" >
  2928.     <xsl:param name="LCID" />
  2929.     <xsl:variable name="_LCID">
  2930.       <xsl:call-template name="localLCID">
  2931.         <xsl:with-param name="LCID" select="$LCID"/>
  2932.       </xsl:call-template>
  2933.     </xsl:variable>
  2934.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FM"/>
  2935.   </xsl:template>
  2936.  
  2937.   
  2938.   <xsl:template name="templ_prop_ISO690_MainAuthors_ML" >
  2939.     <xsl:param name="LCID" />
  2940.     <xsl:variable name="_LCID">
  2941.       <xsl:call-template name="localLCID">
  2942.         <xsl:with-param name="LCID" select="$LCID"/>
  2943.       </xsl:call-template>
  2944.     </xsl:variable>
  2945.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:ML"/>
  2946.   </xsl:template>
  2947.  
  2948.   
  2949.   <xsl:template name="templ_prop_ISO690_MainAuthors_FL" >
  2950.     <xsl:param name="LCID" />
  2951.     <xsl:variable name="_LCID">
  2952.       <xsl:call-template name="localLCID">
  2953.         <xsl:with-param name="LCID" select="$LCID"/>
  2954.       </xsl:call-template>
  2955.     </xsl:variable>
  2956.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:MainAuthors/b:FL"/>
  2957.   </xsl:template>
  2958.  
  2959.   
  2960.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FML" >
  2961.     <xsl:param name="LCID" />
  2962.     <xsl:variable name="_LCID">
  2963.       <xsl:call-template name="localLCID">
  2964.         <xsl:with-param name="LCID" select="$LCID"/>
  2965.       </xsl:call-template>
  2966.     </xsl:variable>
  2967.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FML"/>
  2968.   </xsl:template>
  2969.  
  2970.   
  2971.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FM" >
  2972.     <xsl:param name="LCID" />
  2973.     <xsl:variable name="_LCID">
  2974.       <xsl:call-template name="localLCID">
  2975.         <xsl:with-param name="LCID" select="$LCID"/>
  2976.       </xsl:call-template>
  2977.     </xsl:variable>
  2978.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FM"/>
  2979.   </xsl:template>
  2980.  
  2981.   
  2982.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_ML" >
  2983.     <xsl:param name="LCID" />
  2984.     <xsl:variable name="_LCID">
  2985.       <xsl:call-template name="localLCID">
  2986.         <xsl:with-param name="LCID" select="$LCID"/>
  2987.       </xsl:call-template>
  2988.     </xsl:variable>
  2989.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:ML"/>
  2990.   </xsl:template>
  2991.  
  2992.   
  2993.   <xsl:template name="templ_prop_ISO690_SecondaryAuthors_FL" >
  2994.     <xsl:param name="LCID" />
  2995.     <xsl:variable name="_LCID">
  2996.       <xsl:call-template name="localLCID">
  2997.         <xsl:with-param name="LCID" select="$LCID"/>
  2998.       </xsl:call-template>
  2999.     </xsl:variable>
  3000.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SecondaryAuthors/b:FL"/>
  3001.   </xsl:template>
  3002.  
  3003.   
  3004.   <xsl:template name="templ_prop_ISO690_SameAuthor" >
  3005.     <xsl:param name="LCID" />
  3006.     <xsl:variable name="_LCID">
  3007.       <xsl:call-template name="localLCID">
  3008.         <xsl:with-param name="LCID" select="$LCID"/>
  3009.       </xsl:call-template>
  3010.     </xsl:variable>
  3011.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:SameAuthor"/>
  3012.   </xsl:template>
  3013.  
  3014.   
  3015.   <xsl:template name="templ_prop_ISO690_GeneralOpen" >
  3016.     <xsl:param name="LCID" />
  3017.     <xsl:variable name="_LCID">
  3018.       <xsl:call-template name="localLCID">
  3019.         <xsl:with-param name="LCID" select="$LCID"/>
  3020.       </xsl:call-template>
  3021.     </xsl:variable>
  3022.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralOpen"/>
  3023.   </xsl:template>
  3024.  
  3025.   
  3026.   <xsl:template name="templ_prop_ISO690_GeneralClose" >
  3027.     <xsl:param name="LCID" />
  3028.     <xsl:variable name="_LCID">
  3029.       <xsl:call-template name="localLCID">
  3030.         <xsl:with-param name="LCID" select="$LCID"/>
  3031.       </xsl:call-template>
  3032.     </xsl:variable>
  3033.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:GeneralClose"/>
  3034.   </xsl:template>
  3035.  
  3036.   
  3037.   <xsl:template name="templ_prop_ISO690_Date_DMY" >
  3038.     <xsl:param name="LCID" />
  3039.     <xsl:variable name="_LCID">
  3040.       <xsl:call-template name="localLCID">
  3041.         <xsl:with-param name="LCID" select="$LCID"/>
  3042.       </xsl:call-template>
  3043.     </xsl:variable>
  3044.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DMY"/>
  3045.   </xsl:template>
  3046.  
  3047.   
  3048.   <xsl:template name="templ_prop_ISO690_Date_DM" >
  3049.     <xsl:param name="LCID" />
  3050.     <xsl:variable name="_LCID">
  3051.       <xsl:call-template name="localLCID">
  3052.         <xsl:with-param name="LCID" select="$LCID"/>
  3053.       </xsl:call-template>
  3054.     </xsl:variable>
  3055.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DM"/>
  3056.   </xsl:template>
  3057.  
  3058.   
  3059.   <xsl:template name="templ_prop_ISO690_Date_MY" >
  3060.     <xsl:param name="LCID" />
  3061.     <xsl:variable name="_LCID">
  3062.       <xsl:call-template name="localLCID">
  3063.         <xsl:with-param name="LCID" select="$LCID"/>
  3064.       </xsl:call-template>
  3065.     </xsl:variable>
  3066.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:MY"/>
  3067.   </xsl:template>
  3068.  
  3069.   
  3070.   <xsl:template name="templ_prop_ISO690_Date_DY" >
  3071.     <xsl:param name="LCID" />
  3072.     <xsl:variable name="_LCID">
  3073.       <xsl:call-template name="localLCID">
  3074.         <xsl:with-param name="LCID" select="$LCID"/>
  3075.       </xsl:call-template>
  3076.     </xsl:variable>
  3077.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:Date/b:DY"/>
  3078.   </xsl:template>
  3079.  
  3080.   
  3081.   <xsl:template name="templ_prop_ISO690_DateAccessed_DMY" >
  3082.     <xsl:param name="LCID" />
  3083.     <xsl:variable name="_LCID">
  3084.       <xsl:call-template name="localLCID">
  3085.         <xsl:with-param name="LCID" select="$LCID"/>
  3086.       </xsl:call-template>
  3087.     </xsl:variable>
  3088.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DMY"/>
  3089.   </xsl:template>
  3090.  
  3091.   
  3092.   <xsl:template name="templ_prop_ISO690_DateAccessed_DM" >
  3093.     <xsl:param name="LCID" />
  3094.     <xsl:variable name="_LCID">
  3095.       <xsl:call-template name="localLCID">
  3096.         <xsl:with-param name="LCID" select="$LCID"/>
  3097.       </xsl:call-template>
  3098.     </xsl:variable>
  3099.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DM"/>
  3100.   </xsl:template>
  3101.  
  3102.   
  3103.   <xsl:template name="templ_prop_ISO690_DateAccessed_MY" >
  3104.     <xsl:param name="LCID" />
  3105.     <xsl:variable name="_LCID">
  3106.       <xsl:call-template name="localLCID">
  3107.         <xsl:with-param name="LCID" select="$LCID"/>
  3108.       </xsl:call-template>
  3109.     </xsl:variable>
  3110.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:MY"/>
  3111.   </xsl:template>
  3112.  
  3113.   
  3114.   <xsl:template name="templ_prop_ISO690_DateAccessed_DY" >
  3115.     <xsl:param name="LCID" />
  3116.     <xsl:variable name="_LCID">
  3117.       <xsl:call-template name="localLCID">
  3118.         <xsl:with-param name="LCID" select="$LCID"/>
  3119.       </xsl:call-template>
  3120.     </xsl:variable>
  3121.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:ISO690/b:DateAccessed/b:DY"/>
  3122.   </xsl:template>
  3123.  
  3124.   
  3125.   <xsl:template name="templ_prop_Gost_Authors_FML" >
  3126.     <xsl:param name="LCID" />
  3127.     <xsl:variable name="_LCID">
  3128.       <xsl:call-template name="localLCID">
  3129.         <xsl:with-param name="LCID" select="$LCID"/>
  3130.       </xsl:call-template>
  3131.     </xsl:variable>
  3132.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FML"/>
  3133.   </xsl:template>
  3134.  
  3135.   
  3136.   <xsl:template name="templ_prop_Gost_Authors_FM" >
  3137.     <xsl:param name="LCID" />
  3138.     <xsl:variable name="_LCID">
  3139.       <xsl:call-template name="localLCID">
  3140.         <xsl:with-param name="LCID" select="$LCID"/>
  3141.       </xsl:call-template>
  3142.     </xsl:variable>
  3143.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FM"/>
  3144.   </xsl:template>
  3145.  
  3146.   
  3147.   <xsl:template name="templ_prop_Gost_Authors_ML" >
  3148.     <xsl:param name="LCID" />
  3149.     <xsl:variable name="_LCID">
  3150.       <xsl:call-template name="localLCID">
  3151.         <xsl:with-param name="LCID" select="$LCID"/>
  3152.       </xsl:call-template>
  3153.     </xsl:variable>
  3154.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:ML"/>
  3155.   </xsl:template>
  3156.  
  3157.   
  3158.   <xsl:template name="templ_prop_Gost_Authors_FL" >
  3159.     <xsl:param name="LCID" />
  3160.     <xsl:variable name="_LCID">
  3161.       <xsl:call-template name="localLCID">
  3162.         <xsl:with-param name="LCID" select="$LCID"/>
  3163.       </xsl:call-template>
  3164.     </xsl:variable>
  3165.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Authors/b:FL"/>
  3166.   </xsl:template>
  3167.  
  3168.   
  3169.   <xsl:template name="templ_prop_Gost_Date_DMY" >
  3170.     <xsl:param name="LCID" />
  3171.     <xsl:variable name="_LCID">
  3172.       <xsl:call-template name="localLCID">
  3173.         <xsl:with-param name="LCID" select="$LCID"/>
  3174.       </xsl:call-template>
  3175.     </xsl:variable>
  3176.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DMY"/>
  3177.   </xsl:template>
  3178.  
  3179.   
  3180.   <xsl:template name="templ_prop_Gost_Date_DM" >
  3181.     <xsl:param name="LCID" />
  3182.     <xsl:variable name="_LCID">
  3183.       <xsl:call-template name="localLCID">
  3184.         <xsl:with-param name="LCID" select="$LCID"/>
  3185.       </xsl:call-template>
  3186.     </xsl:variable>
  3187.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DM"/>
  3188.   </xsl:template>
  3189.  
  3190.   
  3191.   <xsl:template name="templ_prop_Gost_Date_MY" >
  3192.     <xsl:param name="LCID" />
  3193.     <xsl:variable name="_LCID">
  3194.       <xsl:call-template name="localLCID">
  3195.         <xsl:with-param name="LCID" select="$LCID"/>
  3196.       </xsl:call-template>
  3197.     </xsl:variable>
  3198.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:MY"/>
  3199.   </xsl:template>
  3200.  
  3201.   
  3202.   <xsl:template name="templ_prop_Gost_Date_DY" >
  3203.     <xsl:param name="LCID" />
  3204.     <xsl:variable name="_LCID">
  3205.       <xsl:call-template name="localLCID">
  3206.         <xsl:with-param name="LCID" select="$LCID"/>
  3207.       </xsl:call-template>
  3208.     </xsl:variable>
  3209.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:Date/b:DY"/>
  3210.   </xsl:template>
  3211.  
  3212.   
  3213.   <xsl:template name="templ_prop_Gost_GeneralOpen" >
  3214.     <xsl:param name="LCID" />
  3215.     <xsl:variable name="_LCID">
  3216.       <xsl:call-template name="localLCID">
  3217.         <xsl:with-param name="LCID" select="$LCID"/>
  3218.       </xsl:call-template>
  3219.     </xsl:variable>
  3220.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralOpen"/>
  3221.   </xsl:template>
  3222.  
  3223.   
  3224.   <xsl:template name="templ_prop_Gost_GeneralClose" >
  3225.     <xsl:param name="LCID" />
  3226.     <xsl:variable name="_LCID">
  3227.       <xsl:call-template name="localLCID">
  3228.         <xsl:with-param name="LCID" select="$LCID"/>
  3229.       </xsl:call-template>
  3230.     </xsl:variable>
  3231.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:GeneralClose"/>
  3232.   </xsl:template>
  3233.  
  3234.   
  3235.   <xsl:template name="templ_prop_Gost_OneSlash" >
  3236.     <xsl:param name="LCID" />
  3237.     <xsl:variable name="_LCID">
  3238.       <xsl:call-template name="localLCID">
  3239.         <xsl:with-param name="LCID" select="$LCID"/>
  3240.       </xsl:call-template>
  3241.     </xsl:variable>
  3242.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:OneSlash"/>
  3243.   </xsl:template>
  3244.  
  3245.   
  3246.   <xsl:template name="templ_prop_Gost_TwoSlash" >
  3247.     <xsl:param name="LCID" />
  3248.     <xsl:variable name="_LCID">
  3249.       <xsl:call-template name="localLCID">
  3250.         <xsl:with-param name="LCID" select="$LCID"/>
  3251.       </xsl:call-template>
  3252.     </xsl:variable>
  3253.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:Gost/b:TwoSlash"/>
  3254.   </xsl:template>
  3255.  
  3256.   
  3257.   <xsl:template name="templ_prop_SIST_MainAuthors_FML" >
  3258.     <xsl:param name="LCID" />
  3259.     <xsl:variable name="_LCID">
  3260.       <xsl:call-template name="localLCID">
  3261.         <xsl:with-param name="LCID" select="$LCID"/>
  3262.       </xsl:call-template>
  3263.     </xsl:variable>
  3264.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FML"/>
  3265.   </xsl:template>
  3266.  
  3267.   
  3268.   <xsl:template name="templ_prop_SIST_MainAuthors_FM" >
  3269.     <xsl:param name="LCID" />
  3270.     <xsl:variable name="_LCID">
  3271.       <xsl:call-template name="localLCID">
  3272.         <xsl:with-param name="LCID" select="$LCID"/>
  3273.       </xsl:call-template>
  3274.     </xsl:variable>
  3275.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FM"/>
  3276.   </xsl:template>
  3277.  
  3278.   
  3279.   <xsl:template name="templ_prop_SIST_MainAuthors_ML" >
  3280.     <xsl:param name="LCID" />
  3281.     <xsl:variable name="_LCID">
  3282.       <xsl:call-template name="localLCID">
  3283.         <xsl:with-param name="LCID" select="$LCID"/>
  3284.       </xsl:call-template>
  3285.     </xsl:variable>
  3286.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:ML"/>
  3287.   </xsl:template>
  3288.  
  3289.   
  3290.   <xsl:template name="templ_prop_SIST_MainAuthors_FL" >
  3291.     <xsl:param name="LCID" />
  3292.     <xsl:variable name="_LCID">
  3293.       <xsl:call-template name="localLCID">
  3294.         <xsl:with-param name="LCID" select="$LCID"/>
  3295.       </xsl:call-template>
  3296.     </xsl:variable>
  3297.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:MainAuthors/b:FL"/>
  3298.   </xsl:template>
  3299.  
  3300.   
  3301.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FML" >
  3302.     <xsl:param name="LCID" />
  3303.     <xsl:variable name="_LCID">
  3304.       <xsl:call-template name="localLCID">
  3305.         <xsl:with-param name="LCID" select="$LCID"/>
  3306.       </xsl:call-template>
  3307.     </xsl:variable>
  3308.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FML"/>
  3309.   </xsl:template>
  3310.  
  3311.   
  3312.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FM" >
  3313.     <xsl:param name="LCID" />
  3314.     <xsl:variable name="_LCID">
  3315.       <xsl:call-template name="localLCID">
  3316.         <xsl:with-param name="LCID" select="$LCID"/>
  3317.       </xsl:call-template>
  3318.     </xsl:variable>
  3319.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FM"/>
  3320.   </xsl:template>
  3321.  
  3322.   
  3323.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_ML" >
  3324.     <xsl:param name="LCID" />
  3325.     <xsl:variable name="_LCID">
  3326.       <xsl:call-template name="localLCID">
  3327.         <xsl:with-param name="LCID" select="$LCID"/>
  3328.       </xsl:call-template>
  3329.     </xsl:variable>
  3330.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:ML"/>
  3331.   </xsl:template>
  3332.  
  3333.   
  3334.   <xsl:template name="templ_prop_SIST_SecondaryAuthors_FL" >
  3335.     <xsl:param name="LCID" />
  3336.     <xsl:variable name="_LCID">
  3337.       <xsl:call-template name="localLCID">
  3338.         <xsl:with-param name="LCID" select="$LCID"/>
  3339.       </xsl:call-template>
  3340.     </xsl:variable>
  3341.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SecondaryAuthors/b:FL"/>
  3342.   </xsl:template>
  3343.  
  3344.   
  3345.   <xsl:template name="templ_prop_SIST_SameAuthor" >
  3346.     <xsl:param name="LCID" />
  3347.     <xsl:variable name="_LCID">
  3348.       <xsl:call-template name="localLCID">
  3349.         <xsl:with-param name="LCID" select="$LCID"/>
  3350.       </xsl:call-template>
  3351.     </xsl:variable>
  3352.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:SameAuthor"/>
  3353.   </xsl:template>
  3354.  
  3355.   
  3356.   <xsl:template name="templ_prop_SIST_GeneralOpen" >
  3357.     <xsl:param name="LCID" />
  3358.     <xsl:variable name="_LCID">
  3359.       <xsl:call-template name="localLCID">
  3360.         <xsl:with-param name="LCID" select="$LCID"/>
  3361.       </xsl:call-template>
  3362.     </xsl:variable>
  3363.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralOpen"/>
  3364.   </xsl:template>
  3365.  
  3366.   
  3367.   <xsl:template name="templ_prop_SIST_GeneralClose" >
  3368.     <xsl:param name="LCID" />
  3369.     <xsl:variable name="_LCID">
  3370.       <xsl:call-template name="localLCID">
  3371.         <xsl:with-param name="LCID" select="$LCID"/>
  3372.       </xsl:call-template>
  3373.     </xsl:variable>
  3374.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:GeneralClose"/>
  3375.   </xsl:template>
  3376.  
  3377.   
  3378.   <xsl:template name="templ_prop_SIST_Date_DMY" >
  3379.     <xsl:param name="LCID" />
  3380.     <xsl:variable name="_LCID">
  3381.       <xsl:call-template name="localLCID">
  3382.         <xsl:with-param name="LCID" select="$LCID"/>
  3383.       </xsl:call-template>
  3384.     </xsl:variable>
  3385.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DMY"/>
  3386.   </xsl:template>
  3387.  
  3388.   
  3389.   <xsl:template name="templ_prop_SIST_Date_DM" >
  3390.     <xsl:param name="LCID" />
  3391.     <xsl:variable name="_LCID">
  3392.       <xsl:call-template name="localLCID">
  3393.         <xsl:with-param name="LCID" select="$LCID"/>
  3394.       </xsl:call-template>
  3395.     </xsl:variable>
  3396.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DM"/>
  3397.   </xsl:template>
  3398.  
  3399.   
  3400.   <xsl:template name="templ_prop_SIST_Date_MY" >
  3401.     <xsl:param name="LCID" />
  3402.     <xsl:variable name="_LCID">
  3403.       <xsl:call-template name="localLCID">
  3404.         <xsl:with-param name="LCID" select="$LCID"/>
  3405.       </xsl:call-template>
  3406.     </xsl:variable>
  3407.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:MY"/>
  3408.   </xsl:template>
  3409.  
  3410.   
  3411.   <xsl:template name="templ_prop_SIST_Date_DY" >
  3412.     <xsl:param name="LCID" />
  3413.     <xsl:variable name="_LCID">
  3414.       <xsl:call-template name="localLCID">
  3415.         <xsl:with-param name="LCID" select="$LCID"/>
  3416.       </xsl:call-template>
  3417.     </xsl:variable>
  3418.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:Date/b:DY"/>
  3419.   </xsl:template>
  3420.  
  3421.   
  3422.   <xsl:template name="templ_prop_SIST_DateAccessed_DMY" >
  3423.     <xsl:param name="LCID" />
  3424.     <xsl:variable name="_LCID">
  3425.       <xsl:call-template name="localLCID">
  3426.         <xsl:with-param name="LCID" select="$LCID"/>
  3427.       </xsl:call-template>
  3428.     </xsl:variable>
  3429.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DMY"/>
  3430.   </xsl:template>
  3431.  
  3432.   
  3433.   <xsl:template name="templ_prop_SIST_DateAccessed_DM" >
  3434.     <xsl:param name="LCID" />
  3435.     <xsl:variable name="_LCID">
  3436.       <xsl:call-template name="localLCID">
  3437.         <xsl:with-param name="LCID" select="$LCID"/>
  3438.       </xsl:call-template>
  3439.     </xsl:variable>
  3440.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DM"/>
  3441.   </xsl:template>
  3442.  
  3443.   
  3444.   <xsl:template name="templ_prop_SIST_DateAccessed_MY" >
  3445.     <xsl:param name="LCID" />
  3446.     <xsl:variable name="_LCID">
  3447.       <xsl:call-template name="localLCID">
  3448.         <xsl:with-param name="LCID" select="$LCID"/>
  3449.       </xsl:call-template>
  3450.     </xsl:variable>
  3451.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:MY"/>
  3452.   </xsl:template>
  3453.  
  3454.   
  3455.   <xsl:template name="templ_prop_SIST_DateAccessed_DY" >
  3456.     <xsl:param name="LCID" />
  3457.     <xsl:variable name="_LCID">
  3458.       <xsl:call-template name="localLCID">
  3459.         <xsl:with-param name="LCID" select="$LCID"/>
  3460.       </xsl:call-template>
  3461.     </xsl:variable>
  3462.     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$_LCID]/b:SIST/b:DateAccessed/b:DY"/>
  3463.   </xsl:template>
  3464.  
  3465.  
  3466.       
  3467.  
  3468.         
  3469.  
  3470.  
  3471.  
  3472.  
  3473.  
  3474.     
  3475.     
  3476.     
  3477.     <xsl:template match="/">
  3478.  
  3479.  
  3480.  
  3481.  
  3482.  
  3483.  
  3484.         <xsl:choose>
  3485.             <xsl:when test="b:Version">
  3486.                 <xsl:text>2006.5.07</xsl:text>
  3487.             </xsl:when>
  3488.  
  3489.             
  3490.             
  3491.             <xsl:when test="b:OfficeStyleKey">
  3492.                 <xsl:text>Chicago</xsl:text>
  3493.             </xsl:when>
  3494.             
  3495.             
  3496.     
  3497.             
  3498.             
  3499.             
  3500.             <xsl:when test="b:GetImportantFields">
  3501.                 <b:ImportantFields>
  3502.                     <xsl:choose>
  3503.                         <xsl:when test="b:GetImportantFields/b:SourceType='Book'">
  3504.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3505.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3506.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3507.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3508.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3509.  
  3510.                         </xsl:when>
  3511.  
  3512.                         <xsl:when test="b:GetImportantFields/b:SourceType='BookSection'">
  3513.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3514.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3515.                             <b:ImportantField><xsl:text>b:Author/b:BookAuthor/b:NameList</xsl:text></b:ImportantField>
  3516.                             <b:ImportantField><xsl:text>b:BookTitle</xsl:text></b:ImportantField>
  3517.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3518.                             <b:ImportantField><xsl:text>b:Pages</xsl:text></b:ImportantField>
  3519.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3520.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3521.                         </xsl:when>
  3522.  
  3523.                         <xsl:when test="b:GetImportantFields/b:SourceType='JournalArticle'">
  3524.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3525.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3526.                             <b:ImportantField><xsl:text>b:JournalName</xsl:text></b:ImportantField>
  3527.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3528.                             <b:ImportantField><xsl:text>b:Pages</xsl:text></b:ImportantField>
  3529.                         </xsl:when>
  3530.  
  3531.                         <xsl:when test="b:GetImportantFields/b:SourceType='ArticleInAPeriodical'">
  3532.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3533.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3534.                             <b:ImportantField><xsl:text>b:PeriodicalTitle</xsl:text></b:ImportantField>
  3535.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3536.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3537.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3538.                             <b:ImportantField><xsl:text>b:Pages</xsl:text></b:ImportantField>
  3539.                         </xsl:when>
  3540.  
  3541.                         <xsl:when test="b:GetImportantFields/b:SourceType='ConferenceProceedings'">
  3542.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3543.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3544.                             <b:ImportantField><xsl:text>b:Pages</xsl:text></b:ImportantField>
  3545.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3546.                             <b:ImportantField><xsl:text>b:ConferenceName</xsl:text></b:ImportantField>
  3547.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3548.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3549.                         </xsl:when>
  3550.  
  3551.                         <xsl:when test="b:GetImportantFields/b:SourceType='Report'">
  3552.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3553.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3554.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3555.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3556.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3557.                             <b:ImportantField><xsl:text>b:ThesisType</xsl:text></b:ImportantField>
  3558.                         </xsl:when>
  3559.  
  3560.                         <xsl:when test="b:GetImportantFields/b:SourceType='SoundRecording'">
  3561.                             <b:ImportantField><xsl:text>b:Author/b:Composer/b:NameList</xsl:text></b:ImportantField>
  3562.                             <b:ImportantField><xsl:text>b:Author/b:Conductor/b:NameList</xsl:text></b:ImportantField>
  3563.                             <b:ImportantField><xsl:text>b:Author/b:Performer/b:NameList</xsl:text></b:ImportantField>
  3564.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3565.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3566.                         </xsl:when>
  3567.  
  3568.                         <xsl:when test="b:GetImportantFields/b:SourceType='Performance'">
  3569.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3570.                             <b:ImportantField><xsl:text>b:Author/b:Writer/b:NameList</xsl:text></b:ImportantField>
  3571.                             <b:ImportantField><xsl:text>b:Author/b:Performer/b:NameList</xsl:text></b:ImportantField>
  3572.                             <b:ImportantField><xsl:text>b:Theater</xsl:text></b:ImportantField>
  3573.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3574.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3575.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3576.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3577.                         </xsl:when>
  3578.  
  3579.                         <xsl:when test="b:GetImportantFields/b:SourceType='Art'">
  3580.                             <b:ImportantField><xsl:text>b:Author/b:Artist/b:NameList</xsl:text></b:ImportantField>
  3581.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3582.                             <b:ImportantField><xsl:text>b:Institution</xsl:text></b:ImportantField>
  3583.                             <b:ImportantField><xsl:text>b:PublicationTitle</xsl:text></b:ImportantField>
  3584.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3585.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3586.                         </xsl:when>
  3587.  
  3588.                         <xsl:when test="b:GetImportantFields/b:SourceType='DocumentFromInternetSite'">
  3589.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3590.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3591.                             <b:ImportantField><xsl:text>b:InternetSiteTitle</xsl:text></b:ImportantField>
  3592.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3593.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3594.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3595.                             <b:ImportantField><xsl:text>b:YearAccessed</xsl:text></b:ImportantField>
  3596.                             <b:ImportantField><xsl:text>b:MonthAccessed</xsl:text></b:ImportantField>
  3597.                             <b:ImportantField><xsl:text>b:DayAccessed</xsl:text></b:ImportantField>
  3598.                             <b:ImportantField><xsl:text>b:URL</xsl:text></b:ImportantField>
  3599.                         </xsl:when>
  3600.  
  3601.                         <xsl:when test="b:GetImportantFields/b:SourceType='InternetSite'">
  3602.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3603.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3604.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3605.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3606.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3607.                             <b:ImportantField><xsl:text>b:YearAccessed</xsl:text></b:ImportantField>
  3608.                             <b:ImportantField><xsl:text>b:MonthAccessed</xsl:text></b:ImportantField>
  3609.                             <b:ImportantField><xsl:text>b:DayAccessed</xsl:text></b:ImportantField>
  3610.                             <b:ImportantField><xsl:text>b:URL</xsl:text></b:ImportantField>
  3611.                         </xsl:when>
  3612.  
  3613.                         <xsl:when test="b:GetImportantFields/b:SourceType='Film'">
  3614.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3615.                             <b:ImportantField><xsl:text>b:Author/b:Performer/b:NameList</xsl:text></b:ImportantField>
  3616.                             <b:ImportantField><xsl:text>b:Author/b:Director/b:NameList</xsl:text></b:ImportantField>
  3617.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3618.                         </xsl:when>
  3619.  
  3620.                         <xsl:when test="b:GetImportantFields/b:SourceType='Interview'">
  3621.                             <b:ImportantField><xsl:text>b:Author/b:Interviewee/b:NameList</xsl:text></b:ImportantField>
  3622.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3623.                             <b:ImportantField><xsl:text>b:Author/b:Interviewer/b:NameList</xsl:text></b:ImportantField>
  3624.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3625.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3626.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3627.                         </xsl:when>
  3628.  
  3629.                         <xsl:when test="b:GetImportantFields/b:SourceType='Patent'">
  3630.                             <b:ImportantField><xsl:text>b:Author/b:Inventor/b:NameList</xsl:text></b:ImportantField>
  3631.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3632.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3633.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3634.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3635.                             <b:ImportantField><xsl:text>b:CountryRegion</xsl:text></b:ImportantField>
  3636.                             <b:ImportantField><xsl:text>b:PatentNumber</xsl:text></b:ImportantField>
  3637.                         </xsl:when>
  3638.  
  3639.                         <xsl:when test="b:GetImportantFields/b:SourceType='ElectronicSource'">
  3640.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3641.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3642.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3643.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3644.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3645.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3646.                         </xsl:when>
  3647.  
  3648.                         <xsl:when test="b:GetImportantFields/b:SourceType='Case'">
  3649.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3650.                             <b:ImportantField><xsl:text>b:CaseNumber</xsl:text></b:ImportantField>
  3651.                             <b:ImportantField><xsl:text>b:Court</xsl:text></b:ImportantField>
  3652.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3653.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3654.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3655.                         </xsl:when>
  3656.  
  3657.                         <xsl:when test="b:GetImportantFields/b:SourceType='Misc'">
  3658.                             <b:ImportantField><xsl:text>b:Author/b:Author/b:NameList</xsl:text></b:ImportantField>
  3659.                             <b:ImportantField><xsl:text>b:Title</xsl:text></b:ImportantField>
  3660.                             <b:ImportantField><xsl:text>b:PublicationTitle</xsl:text></b:ImportantField>
  3661.                             <b:ImportantField><xsl:text>b:Year</xsl:text></b:ImportantField>
  3662.                             <b:ImportantField><xsl:text>b:Month</xsl:text></b:ImportantField>
  3663.                             <b:ImportantField><xsl:text>b:Day</xsl:text></b:ImportantField>
  3664.                             <b:ImportantField><xsl:text>b:City</xsl:text></b:ImportantField>
  3665.                             <b:ImportantField><xsl:text>b:Publisher</xsl:text></b:ImportantField>
  3666.                         </xsl:when>
  3667.  
  3668.                     </xsl:choose>
  3669.                 </b:ImportantFields>
  3670.             </xsl:when>
  3671.             
  3672.             <xsl:when test="b:Citation">
  3673.  
  3674.                 <xsl:variable name="ListPopulatedWithMain">
  3675.                         <xsl:call-template name="populateMain">
  3676.                             <xsl:with-param name="Type">b:Citation</xsl:with-param>
  3677.                         </xsl:call-template>
  3678.                 </xsl:variable>
  3679.  
  3680.             
  3681.             
  3682.                 <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
  3683.                     <head>
  3684.                     </head>
  3685.                     <body>
  3686.                         <xsl:variable name="LCID">
  3687.                           <xsl:choose>
  3688.                             <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  3689.                               <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  3690.                             </xsl:when>
  3691.                             <xsl:otherwise>
  3692.                               <xsl:value-of select="b:LCID"/>
  3693.                             </xsl:otherwise>
  3694.                           </xsl:choose>
  3695.                         </xsl:variable>
  3696.  
  3697.                         <xsl:element name="p">
  3698.  
  3699.                         <xsl:attribute name="lang">
  3700.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  3701.                         </xsl:attribute>
  3702.  
  3703.                         <xsl:attribute name="dir">
  3704.                             <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  3705.                         </xsl:attribute>
  3706.  
  3707.                         <xsl:variable name="type">
  3708.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:SourceType"/>
  3709.                         </xsl:variable>
  3710.  
  3711.                         <xsl:variable name="title0">
  3712.                             <xsl:choose>
  3713.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle)>0">
  3714.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:ShortTitle" />
  3715.                                 </xsl:when>
  3716.  
  3717.                                 <xsl:otherwise>
  3718.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Title" />
  3719.                                 </xsl:otherwise>
  3720.                             </xsl:choose>
  3721.                         </xsl:variable>
  3722.  
  3723.                         <xsl:variable name="year0">
  3724.                             <xsl:choose>
  3725.                                 <xsl:when test = "string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Year) > 0">
  3726.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Year" />
  3727.                                 </xsl:when>
  3728.                                 <xsl:otherwise>
  3729.                                     <xsl:call-template name="templ_str_NoDateShortUnCap"/>
  3730.                                 </xsl:otherwise>
  3731.                             </xsl:choose>
  3732.                         </xsl:variable>                        
  3733.  
  3734.                         <xsl:variable name="yearSimple">
  3735.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Year" />
  3736.                         </xsl:variable>                        
  3737.  
  3738.                         <xsl:variable name="authorMain">
  3739.                             <xsl:copy-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main"/>
  3740.                         </xsl:variable>
  3741.  
  3742.                         <xsl:variable name = "minAuthors">
  3743.                             <xsl:choose>
  3744.                                 <xsl:when test = "msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:MinAuthors > 1">
  3745.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:MinAuthors" />
  3746.                                 </xsl:when>
  3747.                                 <xsl:otherwise>            
  3748.                                     <xsl:text>1</xsl:text>
  3749.                                 </xsl:otherwise>            
  3750.                             </xsl:choose>
  3751.                         </xsl:variable>
  3752.                         
  3753.                         <xsl:variable name="author0">
  3754.                             <xsl:choose>
  3755.                                 <xsl:when test="string-length(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate) > 0">
  3756.                                     <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:Corporate" />
  3757.                                 </xsl:when>
  3758.                                 <xsl:otherwise>
  3759.                                     <xsl:variable name="cAuthors">
  3760.                                         <xsl:value-of select="count(msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person)" />
  3761.                                     </xsl:variable>
  3762.                                     <xsl:for-each select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Author/b:Main/b:NameList/b:Person">
  3763.                                         
  3764.                                         <xsl:choose>
  3765.                                             <xsl:when test="$cAuthors > 3 and position() > $minAuthors">
  3766.                                             </xsl:when>
  3767.  
  3768.                                             <xsl:otherwise>
  3769.                                                 <xsl:call-template name="formatNameCore">
  3770.                                                     <xsl:with-param name="FML">
  3771.                                                         <xsl:choose>
  3772.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3773.                                                                 <xsl:call-template name="templ_prop_Chicago_CitationLong_FML"/>
  3774.                                                             </xsl:when>
  3775.                                                             <xsl:otherwise>
  3776.                                                                 <xsl:call-template name="templ_prop_Chicago_CitationShort_FML"/>
  3777.                                                             </xsl:otherwise>
  3778.                                                         </xsl:choose>
  3779.                                                     </xsl:with-param>
  3780.                                                     <xsl:with-param name="FM">
  3781.                                                         <xsl:choose>
  3782.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3783.                                                                 <xsl:call-template name="templ_prop_Chicago_CitationLong_FM"/>
  3784.                                                             </xsl:when>
  3785.                                                             <xsl:otherwise>
  3786.                                                                 <xsl:call-template name="templ_prop_Chicago_CitationShort_FM"/>
  3787.                                                             </xsl:otherwise>
  3788.                                                         </xsl:choose>
  3789.                                                     </xsl:with-param>
  3790.                                                     <xsl:with-param name="ML">
  3791.                                                         <xsl:choose>
  3792.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3793.                                                                 <xsl:call-template name="templ_prop_Chicago_CitationLong_ML"/>
  3794.                                                             </xsl:when>
  3795.                                                             <xsl:otherwise>
  3796.                                                                 <xsl:call-template name="templ_prop_Chicago_CitationShort_ML"/>
  3797.                                                             </xsl:otherwise>
  3798.                                                         </xsl:choose>
  3799.                                                     </xsl:with-param>
  3800.                                                     <xsl:with-param name="FL">
  3801.                                                         <xsl:choose>
  3802.                                                             <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NonUniqueLastName">
  3803.                                                                 <xsl:call-template name="templ_prop_Chicago_CitationLong_FL"/>
  3804.                                                             </xsl:when>
  3805.                                                             <xsl:otherwise>
  3806.                                                                 <xsl:call-template name="templ_prop_Chicago_CitationShort_FL"/>
  3807.                                                             </xsl:otherwise>
  3808.                                                         </xsl:choose>
  3809.                                                     </xsl:with-param>
  3810.                                                     <xsl:with-param name="upperLast">no</xsl:with-param>
  3811.                                                     <xsl:with-param name="withDot">no</xsl:with-param>
  3812.                                                 </xsl:call-template>
  3813.                                             </xsl:otherwise>
  3814.                                         </xsl:choose>
  3815.                                         
  3816.                                         <xsl:choose>
  3817.                                             <xsl:when test = "$cAuthors > 3 and position() = $minAuthors">
  3818.                                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  3819.                                                 <xsl:call-template name="templ_str_AndOthersUnCap"/>
  3820.                                             </xsl:when>
  3821.                                             <xsl:when test = "$cAuthors > 3 and position() > $minAuthors">
  3822.                                             </xsl:when>
  3823.                                             <xsl:when test="($cAuthors - 1 = position() and ($cAuthors = 2 or $cAuthors = 3)) or ($cAuthors > 3 and position() = 2)">
  3824.                                                 <xsl:variable name="noAndBeforeLastAuthor">
  3825.                                                     <xsl:call-template name="templ_prop_NoAndBeforeLastAuthor"/>
  3826.                                                 </xsl:variable>
  3827.  
  3828.                                                 <xsl:if test="$noAndBeforeLastAuthor != 'yes'">
  3829.                                                     <xsl:call-template name="templ_prop_Space"/>
  3830.                                                     <xsl:call-template name="templ_str_AndUnCap"/>
  3831.                                                     <xsl:call-template name="templ_prop_Space"/>
  3832.                                                 </xsl:if>
  3833.                                                 <xsl:if test="$noAndBeforeLastAuthor = 'yes'">
  3834.                                                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  3835.                                                 </xsl:if>
  3836.                                             </xsl:when>
  3837.                                             <xsl:when test="$cAuthors > position() and 3 > position() ">
  3838.                                                 <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  3839.                                             </xsl:when>
  3840.                                         </xsl:choose>
  3841.         
  3842.                                     </xsl:for-each>
  3843.                                 </xsl:otherwise>
  3844.                             </xsl:choose>
  3845.                         </xsl:variable>
  3846.  
  3847.                         <xsl:variable name="title">
  3848.                             <xsl:choose>
  3849.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoTitle">
  3850.                                 </xsl:when>
  3851.                                 
  3852.                                 <xsl:otherwise>
  3853.                                     <xsl:value-of select="$title0" />
  3854.                                 </xsl:otherwise>
  3855.                             </xsl:choose>
  3856.                         </xsl:variable>
  3857.  
  3858.                         <xsl:variable name="year">
  3859.                             <xsl:choose>
  3860.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoYear">
  3861.                                 </xsl:when>
  3862.                                 
  3863.                                 <xsl:otherwise>
  3864.                                     <xsl:value-of select="$year0" />
  3865.                                 </xsl:otherwise>
  3866.                             </xsl:choose>
  3867.                         </xsl:variable>                        
  3868.  
  3869.                         <xsl:variable name="author">
  3870.                             <xsl:choose>
  3871.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:NoAuthor">
  3872.                                 </xsl:when>
  3873.                                 <xsl:otherwise>
  3874.                                     <xsl:value-of select="$author0" />
  3875.                                 </xsl:otherwise>
  3876.                             </xsl:choose>
  3877.                         </xsl:variable>
  3878.  
  3879.                         <xsl:variable name="prop_APA_Hyphens">
  3880.                           <xsl:call-template name="templ_prop_Hyphens"/>
  3881.                         </xsl:variable>
  3882.  
  3883.                         <xsl:variable name="volume" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Volume"/>
  3884.  
  3885.                         <xsl:variable name="volVolume">
  3886.                             <xsl:if test="string-length($volume) > 0">
  3887.                                 <xsl:call-template name="StringFormat">
  3888.                                     <xsl:with-param name="format">
  3889.                                       <xsl:choose>
  3890.                                         <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  3891.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  3892.                                         </xsl:when>
  3893.                                         <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  3894.                                           <xsl:call-template name="templ_str_VolumeShortUnCap"/>
  3895.                                         </xsl:when>
  3896.                                         <xsl:otherwise>
  3897.                                           <xsl:call-template name="templ_str_VolumesShortUnCap"/>
  3898.                                         </xsl:otherwise>
  3899.                                       </xsl:choose>
  3900.                                     </xsl:with-param>
  3901.                                     <xsl:with-param name="parameters">
  3902.                                         <t:params>
  3903.                                             <t:param>
  3904.                                                 <xsl:value-of select="$volume"/>
  3905.                                             </t:param>
  3906.                                         </t:params>
  3907.                                     </xsl:with-param>
  3908.                                 </xsl:call-template>
  3909.                             </xsl:if>
  3910.                         </xsl:variable>
  3911.  
  3912.  
  3913.                         <xsl:variable name="pages" select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Pages"/>
  3914.  
  3915.                         <xsl:variable name="displayAuthor">
  3916.                             <xsl:value-of select="$author" />
  3917.                         </xsl:variable>
  3918.  
  3919.                         <xsl:variable name="displayTitle">
  3920.                             <xsl:choose>
  3921.                                 <xsl:when test="string-length($displayAuthor) = 0">
  3922.                                     <xsl:if test="string-length($volume) = 0 and string-length($pages) = 0">
  3923.                                         <xsl:value-of select="$title" />
  3924.                                     </xsl:if>
  3925.                                 </xsl:when>
  3926.                                 <xsl:when test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:RepeatedAuthor">
  3927.                                     <xsl:value-of select="$title" />
  3928.                                 </xsl:when>
  3929.                             </xsl:choose>
  3930.                         </xsl:variable>
  3931.  
  3932.                         
  3933.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:FirstAuthor">
  3934.                             <xsl:call-template name="templ_prop_OpenBracket"/>
  3935.                         </xsl:if>
  3936.                     
  3937.                         <xsl:if test="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:PagePrefix">
  3938.                             <xsl:value-of select="/b:Citation/b:PagePrefix"/>
  3939.                         </xsl:if>
  3940.  
  3941.                         <xsl:value-of select="$displayAuthor" />
  3942.  
  3943.                         <xsl:if test="string-length($displayTitle) > 0">
  3944.                             <xsl:if test="string-length($displayAuthor) > 0">
  3945.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  3946.                             </xsl:if>
  3947.                             <xsl:if test="string-length($displayTitle)>0">
  3948.                                 <xsl:value-of select="$displayTitle"/>
  3949.                             </xsl:if>
  3950.                         </xsl:if>
  3951.  
  3952.                         <xsl:if test="string-length($author0) = 0 and string-length($title0) = 0 and string-length($yearSimple) = 0">
  3953.                             <xsl:value-of select="msxsl:node-set($ListPopulatedWithMain)/b:Citation/b:Source/b:Tag"/>
  3954.                         </xsl:if>
  3955.                         
  3956.                         <xsl:if test="string-length($year) > 0 and not(string-length($author0) = 0 and string-length($title0) = 0 and string-length($yearSimple) = 0)">
  3957.                             <xsl:if test="string-length($displayAuthor) > 0 or string-length($displayTitle) > 0">
  3958.                                 <xsl:call-template name="templ_prop_Space"/>
  3959.                             </xsl:if>
  3960.                             <xsl:value-of select="$year"/>
  3961.                         </xsl:if>
  3962.  
  3963.                         <xsl:if test="string-length($volume) > 0 or string-length($pages) > 0">
  3964.                             <xsl:if test="string-length($displayAuthor) > 0 or string-length($displayTitle) > 0">
  3965.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  3966.                             </xsl:if>            
  3967.  
  3968.                             <xsl:choose>
  3969.                                 <xsl:when test="string-length($volume) > 0 and string-length($pages) > 0">
  3970.                                     <xsl:value-of select="$volume"/>
  3971.                                     <xsl:call-template name="templ_prop_Enum"/>
  3972.                                     <xsl:value-of select="$pages"/>
  3973.                                 </xsl:when>
  3974.                                 <xsl:when test="string-length($volVolume) > 0">
  3975.                                     <xsl:value-of select="$volVolume"/>
  3976.                                 </xsl:when>
  3977.                                 <xsl:when test="string-length($pages) > 0">
  3978.                                     <xsl:value-of select="$pages"/>
  3979.                                 </xsl:when>
  3980.                             </xsl:choose>
  3981.                         </xsl:if>
  3982.  
  3983.                         <xsl:if test="/b:Citation/b:PageSuffix">
  3984.                             <xsl:value-of select="/b:Citation/b:PageSuffix"/>
  3985.                         </xsl:if>
  3986.                         
  3987.                         <xsl:if test="/b:Citation/b:LastAuthor">
  3988.                             <xsl:call-template name="templ_prop_CloseBracket"/>
  3989.                         </xsl:if>
  3990.                         <xsl:if test="not(/b:Citation/b:LastAuthor)">
  3991.                             <xsl:call-template name="templ_prop_ListSeparator"/>
  3992.                         </xsl:if>
  3993.                     
  3994.  
  3995.                         </xsl:element>
  3996.                     </body>
  3997.                 </html>
  3998.             </xsl:when>
  3999.             <xsl:when test="b:Bibliography">
  4000.  
  4001.  
  4002.             
  4003.                 <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
  4004.                     <head>
  4005.                         
  4006.                         <style>
  4007.                             p.MsoBibliography, li.MsoBibliography, div.MsoBibliography
  4008.                         </style>
  4009.                     </head>
  4010.                     <body>
  4011.  
  4012.                     
  4013.                     
  4014.                         <xsl:variable name="ListPopulatedWithMain">
  4015.                                 <xsl:call-template name="populateMain">
  4016.                                     <xsl:with-param name="Type">b:Bibliography</xsl:with-param>
  4017.                                 </xsl:call-template>
  4018.                         </xsl:variable>
  4019.                         
  4020.                                 
  4021.                                 
  4022.                         <xsl:variable name="sList">
  4023.                             <xsl:call-template name="sortedList">
  4024.                                 <xsl:with-param name="sourceRoot"><xsl:copy-of select="$ListPopulatedWithMain"/></xsl:with-param>
  4025.                             </xsl:call-template>
  4026.                         </xsl:variable>
  4027.  
  4028.  
  4029.  
  4030.                         <xsl:variable name="dups">
  4031.                             <xsl:for-each select="msxsl:node-set($sList)/b:Bibliography/b:Source">
  4032.                                 <b:author>
  4033.                                     <xsl:call-template name="formatMain"/>
  4034.                                 </b:author>
  4035.                             </xsl:for-each>
  4036.                         </xsl:variable>
  4037.                         
  4038.                         <xsl:for-each select="msxsl:node-set($sList)/b:Bibliography/b:Source">
  4039.  
  4040.               <xsl:variable name="LCID">
  4041.                 <xsl:choose>
  4042.                   <xsl:when test="b:LCID='0' or b:LCID='' or not(b:LCID)">
  4043.                     <xsl:value-of select="/*/b:Locals/b:DefaultLCID"/>
  4044.                   </xsl:when>
  4045.                   <xsl:otherwise>
  4046.                     <xsl:value-of select="b:LCID"/>
  4047.                   </xsl:otherwise>
  4048.                 </xsl:choose>
  4049.               </xsl:variable>
  4050.  
  4051.               <xsl:element name="p">
  4052.                                 <xsl:attribute name="lang">
  4053.                                     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/@Culture"/>
  4054.                                 </xsl:attribute>
  4055.                                 <xsl:attribute name="dir">
  4056.                                     <xsl:value-of select="/*/b:Locals/b:Local[@LCID=$LCID]/b:Properties/b:Direction"/>
  4057.                                 </xsl:attribute>
  4058.                                 <xsl:attribute name="class">
  4059.                                     <xsl:value-of select="'MsoBibliography'"/>
  4060.                                 </xsl:attribute>
  4061.                                 
  4062.                         
  4063.                             
  4064.                             
  4065.                                 
  4066.                                 
  4067.                                 
  4068.  
  4069.                                 <xsl:variable name="cEditors">
  4070.                                     <xsl:value-of select="count(b:Author/b:Editor/b:NameList/b:Person)"/>
  4071.                                 </xsl:variable>
  4072.  
  4073.                                 <xsl:variable name="cTranslators">
  4074.                                     <xsl:value-of select="count(b:Author/b:Translator/b:NameList/b:Person)"/>
  4075.                                 </xsl:variable>
  4076.  
  4077.                                 <xsl:variable name="cComposers">
  4078.                                     <xsl:value-of select="count(b:Author/b:Composer/b:NameList/b:Person)"/>
  4079.                                 </xsl:variable>
  4080.  
  4081.                                 <xsl:variable name="cCompilers">
  4082.                                     <xsl:value-of select="count(b:Author/b:Compiler/b:NameList/b:Person)"/>
  4083.                                 </xsl:variable>
  4084.  
  4085.                                 <xsl:variable name="cPerformers">
  4086.                                     <xsl:value-of select="count(b:Author/b:Performer/b:NameList/b:Person)"/>
  4087.                                 </xsl:variable>
  4088.  
  4089.                                 <xsl:variable name="cDirectors">
  4090.                                     <xsl:value-of select="count(b:Author/b:Director/b:NameList/b:Person)"/>
  4091.                                 </xsl:variable>
  4092.  
  4093.                                 <xsl:variable name="cProducers">
  4094.                                     <xsl:value-of select="count(b:Author/b:ProducerName/b:NameList/b:Person)"/>
  4095.                                 </xsl:variable>
  4096.  
  4097.                                 <xsl:variable name="cConductors">
  4098.                                     <xsl:value-of select="count(b:Author/b:Conductor/b:NameList/b:Person)"/>
  4099.                                 </xsl:variable>
  4100.  
  4101.  
  4102.  
  4103.  
  4104.  
  4105.                                 <xsl:variable name="actIndex" select="position()"/>
  4106.                                 <xsl:variable name="lastIndex" select="position() - 1"/>
  4107.  
  4108.                                 <xsl:variable name="actAuthor">
  4109.                                     <xsl:value-of select="msxsl:node-set($dups)/b:author[$actIndex]"/>
  4110.                                 </xsl:variable>
  4111.  
  4112.                                 <xsl:variable name="lastAuthor">
  4113.                                     <xsl:value-of select="msxsl:node-set($dups)/b:author[$lastIndex]"/>
  4114.                                 </xsl:variable>
  4115.  
  4116.                                 <xsl:variable name="authorMain">
  4117.                                     <xsl:choose>
  4118.                                         <xsl:when test="position()=1">
  4119.                                             <xsl:call-template name="formatMain"/>
  4120.                                         </xsl:when>
  4121.                                         <xsl:when test="$actAuthor=$lastAuthor and string-length($actAuthor)>0 ">
  4122.                                             <xsl:call-template name="templ_prop_Chicago_SameAuthor"/>
  4123.                                         </xsl:when>
  4124.                                         <xsl:otherwise>
  4125.                                             <xsl:call-template name="formatMain"/>
  4126.                                         </xsl:otherwise>
  4127.                                     </xsl:choose>
  4128.                                 </xsl:variable>
  4129.  
  4130.                                 <xsl:variable name="author">
  4131.                                     <xsl:call-template name="formatAuthor"/>
  4132.                                 </xsl:variable>
  4133.  
  4134.  
  4135.  
  4136.  
  4137.  
  4138.                                 <xsl:variable name="compiler">
  4139.                                     <xsl:call-template name="formatCompiler"/>
  4140.                                 </xsl:variable>
  4141.  
  4142.                                 <xsl:variable name="compilerLF">
  4143.                                     <xsl:call-template name="formatCompilerLF"/>
  4144.                                 </xsl:variable>
  4145.  
  4146.                                 <xsl:variable name="editor">
  4147.                                     <xsl:call-template name="formatEditor"/>
  4148.                                 </xsl:variable>
  4149.  
  4150.                                 <xsl:variable name="editorLF">
  4151.                                     <xsl:call-template name="formatEditorLF"/>
  4152.                                 </xsl:variable>
  4153.  
  4154.                                 <xsl:variable name="translator">
  4155.                                     <xsl:call-template name="formatTranslator"/>
  4156.                                 </xsl:variable>
  4157.  
  4158.                                 <xsl:variable name="translatorLF">
  4159.                                     <xsl:call-template name="formatTranslatorLF"/>
  4160.                                 </xsl:variable>
  4161.  
  4162.                                 <xsl:variable name="performer">
  4163.                                     <xsl:call-template name="formatPerformer"/>
  4164.                                 </xsl:variable>
  4165.  
  4166.                                 <xsl:variable name="intervieweeLF">
  4167.                                     <xsl:call-template name="formatIntervieweeLF"/>
  4168.                                 </xsl:variable>
  4169.  
  4170.                                 <xsl:variable name="producerName">
  4171.                                     <xsl:call-template name="formatProducerName"/>
  4172.                                 </xsl:variable>
  4173.  
  4174.                                 <xsl:variable name="interviewer">
  4175.                                     <xsl:call-template name="formatInterviewer"/>
  4176.                                 </xsl:variable>
  4177.  
  4178.                                 <xsl:variable name="interviewerLF">
  4179.                                     <xsl:call-template name="formatInterviewerLF"/>
  4180.                                 </xsl:variable>
  4181.  
  4182.                                 <xsl:variable name="writer">
  4183.                                     <xsl:call-template name="formatWriter"/>
  4184.                                 </xsl:variable>
  4185.  
  4186.                                 <xsl:variable name="writerLF">
  4187.                                     <xsl:call-template name="formatWriterLF"/>
  4188.                                 </xsl:variable>
  4189.  
  4190.                                 <xsl:variable name="director">
  4191.                                     <xsl:call-template name="formatDirector"/>
  4192.                                 </xsl:variable>
  4193.  
  4194.                                 <xsl:variable name="inventorLF">
  4195.                                     <xsl:call-template name="formatInventorLF"/>
  4196.                                 </xsl:variable>
  4197.  
  4198.                                 <xsl:variable name="bookAuthor">
  4199.                                     <xsl:call-template name="formatBookAuthor"/>
  4200.                                 </xsl:variable>
  4201.  
  4202.                                 <xsl:variable name="sectionAuthor">
  4203.                                     <xsl:call-template name="formatAuthor"/>
  4204.                                 </xsl:variable>
  4205.  
  4206.                                 <xsl:variable name="performerLF">
  4207.                                     <xsl:call-template name="formatPerformerLF"/>
  4208.                                 </xsl:variable>
  4209.  
  4210.                                 <xsl:variable name="conductorLF">
  4211.                                     <xsl:call-template name="formatConductorLF"/>
  4212.                                 </xsl:variable>
  4213.  
  4214.                                 <xsl:variable name="conductor">
  4215.                                     <xsl:call-template name="formatConductor"/>
  4216.                                 </xsl:variable>
  4217.  
  4218.                                 <xsl:variable name="composerLF">
  4219.                                     <xsl:call-template name="formatComposerLF"/>
  4220.                                 </xsl:variable>
  4221.  
  4222.                                 <xsl:variable name="composer">
  4223.                                     <xsl:call-template name="formatComposer"/>
  4224.                                 </xsl:variable>
  4225.  
  4226.                                 <xsl:variable name="artist">
  4227.                                     <xsl:call-template name="formatArtistLF"/>
  4228.                                 </xsl:variable>
  4229.  
  4230.                                 <xsl:variable name="writerLFDot">
  4231.                                     <xsl:call-template name="appendField_Dot">
  4232.                                         <xsl:with-param name="field" select="$writerLF"/>
  4233.                                     </xsl:call-template>
  4234.                                 </xsl:variable>
  4235.  
  4236.  
  4237.  
  4238.  
  4239.                                 <xsl:variable name="date">
  4240.                                     <xsl:call-template name="formatDate"/>
  4241.                                 </xsl:variable>
  4242.  
  4243.                                 <xsl:variable name="dateDot">
  4244.                                     <xsl:call-template name="appendField_Dot">
  4245.                                         <xsl:with-param name="field" select="$date"/>
  4246.                                     </xsl:call-template>
  4247.                                 </xsl:variable>
  4248.  
  4249.                                 <xsl:variable name="dateAccessed">
  4250.                                     <xsl:call-template name="formatDateAccessed"/>
  4251.                                 </xsl:variable>
  4252.  
  4253.                                 <xsl:variable name="dateAccessedDot">
  4254.                                     <xsl:call-template name="appendField_Dot">
  4255.                                         <xsl:with-param name="field" select="$dateAccessed"/>
  4256.                                     </xsl:call-template>
  4257.                                 </xsl:variable>
  4258.  
  4259.                                 <xsl:variable name="tempCPY">
  4260.                                     <xsl:call-template name="templateCPY"/>
  4261.                                 </xsl:variable>
  4262.  
  4263.                                 <xsl:variable name="tempRIY">
  4264.                                     <xsl:call-template name="templateRIY"/>
  4265.                                 </xsl:variable>
  4266.  
  4267.                                 <xsl:variable name="tempRICPY">
  4268.                                     <xsl:call-template name="templateRICPY"/>
  4269.                                 </xsl:variable>
  4270.  
  4271.                                 <xsl:variable name="tempCPDMY">
  4272.                                     <xsl:call-template name="templateCPDMY"/>
  4273.                                 </xsl:variable>
  4274.  
  4275.                                 <xsl:variable name="tempIYP">
  4276.                                     <xsl:call-template name="templateIYP"/>
  4277.                                 </xsl:variable>
  4278.  
  4279.                                 <xsl:variable name="tempVYP">
  4280.                                     <xsl:call-template name="templateVYP"/>
  4281.                                 </xsl:variable>
  4282.  
  4283.                                 <xsl:variable name="tempDEP">
  4284.                                     <xsl:call-template name="templateDEP"/>
  4285.                                 </xsl:variable>
  4286.  
  4287.                                 <xsl:variable name="tempRYM">
  4288.                                     <xsl:call-template name="templateRYM"/>
  4289.                                 </xsl:variable>
  4290.  
  4291.                                 <xsl:variable name="tempTC">
  4292.                                     <xsl:call-template name="templateTC"/>
  4293.                                 </xsl:variable>
  4294.  
  4295.                                 <xsl:variable name="tempIC">
  4296.                                     <xsl:call-template name="templateIC"/>
  4297.                                 </xsl:variable>
  4298.  
  4299.                                 <xsl:variable name="tempIY">
  4300.                                     <xsl:call-template name="templateIY"/>
  4301.                                 </xsl:variable>
  4302.  
  4303.                                 <xsl:variable name="tempDY">
  4304.                                     <xsl:call-template name="templateDY"/>
  4305.                                 </xsl:variable>
  4306.  
  4307.                                 <xsl:variable name="tempCPD">
  4308.                                     <xsl:call-template name="templateCPD"/>
  4309.                                 </xsl:variable>
  4310.  
  4311.                                 <xsl:variable name="tempSC">
  4312.                                     <xsl:call-template name="templateSC"/>
  4313.                                 </xsl:variable>
  4314.  
  4315.                                 <xsl:variable name="tempCP">
  4316.                                     <xsl:call-template name="templateCP"/>
  4317.                                 </xsl:variable>
  4318.  
  4319.                                 <xsl:variable name="tempCCD">
  4320.                                     <xsl:call-template name="templateCCD"/>
  4321.                                 </xsl:variable>
  4322.  
  4323.                                 <xsl:variable name="tempVIYP">
  4324.                                     <xsl:call-template name="templateVIYP"/>
  4325.                                 </xsl:variable>
  4326.  
  4327.                                 <xsl:variable name="tempDaU">
  4328.                                     <xsl:variable name="temporaryDaU">
  4329.                                         <xsl:call-template name="templateDACURL"/>
  4330.                                     </xsl:variable>
  4331.  
  4332.                                     <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  4333.                                         <xsl:with-param name="field" select="$temporaryDaU"/>
  4334.                                     </xsl:call-template>        
  4335.                                 </xsl:variable>
  4336.  
  4337.  
  4338.  
  4339.  
  4340.  
  4341.  
  4342.  
  4343.                                 <xsl:variable name="titleDot">
  4344.                                     <xsl:call-template name="appendField_Dot">
  4345.                                         <xsl:with-param name="field" select="b:Title"/>
  4346.                                     </xsl:call-template>
  4347.                                 </xsl:variable>
  4348.  
  4349.                                 <xsl:variable name="albumTitleDot">
  4350.                                     <xsl:call-template name="appendField_Dot">
  4351.                                         <xsl:with-param name="field" select="b:AlbumTitle"/>
  4352.                                     </xsl:call-template>
  4353.                                 </xsl:variable>
  4354.  
  4355.                                 <xsl:variable name="pagesDot">
  4356.                                     <xsl:call-template name="appendField_Dot">
  4357.                                         <xsl:with-param name="field" select="b:Pages"/>
  4358.                                     </xsl:call-template>
  4359.                                 </xsl:variable>
  4360.  
  4361.                                 <xsl:variable name="bookTitleDot">
  4362.                                     <xsl:call-template name="appendField_Dot">
  4363.                                         <xsl:with-param name="field" select="b:BookTitle"/>
  4364.                                     </xsl:call-template>
  4365.                                 </xsl:variable>
  4366.  
  4367.                                 <xsl:variable name="conferenceNameDot">
  4368.                                     <xsl:call-template name="appendField_Dot">
  4369.                                         <xsl:with-param name="field" select="b:ConferenceName"/>
  4370.                                     </xsl:call-template>
  4371.                                 </xsl:variable>
  4372.  
  4373.                                 <xsl:variable name="broadcasterDot">
  4374.                                     <xsl:call-template name="appendField_Dot">
  4375.                                         <xsl:with-param name="field" select="b:Broadcaster"/>
  4376.                                     </xsl:call-template>
  4377.                                 </xsl:variable>
  4378.  
  4379.                                 <xsl:variable name="interviewTitle">
  4380.                                     <xsl:call-template name="handleSpaces">
  4381.                                         <xsl:with-param name="field" select="b:Title"/>
  4382.                                     </xsl:call-template>
  4383.                                 </xsl:variable>
  4384.  
  4385.                                 <xsl:variable name="publisher">
  4386.                                     <xsl:call-template name="handleSpaces">
  4387.                                         <xsl:with-param name="field" select="b:Publisher"/>
  4388.                                     </xsl:call-template>
  4389.                                 </xsl:variable>
  4390.  
  4391.                                 <xsl:variable name="interviewTitleDot">
  4392.                                     <xsl:call-template name="appendField_Dot">
  4393.                                         <xsl:with-param name="field" select="b:Title"/>
  4394.                                     </xsl:call-template>
  4395.                                 </xsl:variable>
  4396.  
  4397.                                 <xsl:variable name="publicationTitle">
  4398.                                     <xsl:call-template name="handleSpaces">
  4399.                                         <xsl:with-param name="field" select="b:PublicationTitle"/>
  4400.                                     </xsl:call-template>
  4401.                                 </xsl:variable>
  4402.  
  4403.                                 <xsl:variable name="publicationTitleDot">
  4404.                                     <xsl:call-template name="appendField_Dot">
  4405.                                         <xsl:with-param name="field" select="b:PublicationTitle"/>
  4406.                                     </xsl:call-template>
  4407.                                 </xsl:variable>
  4408.  
  4409.                                 <xsl:variable name="URL">
  4410.                                     <xsl:value-of select="b:URL"/>
  4411.                                 </xsl:variable>
  4412.  
  4413.                                 <xsl:variable name="cityDot">
  4414.                                     <xsl:call-template name="appendField_Dot">
  4415.                                         <xsl:with-param name="field" select="b:City"/>
  4416.                                     </xsl:call-template>
  4417.                                 </xsl:variable>
  4418.  
  4419.                                 <xsl:variable name="institutionDot">
  4420.                                     <xsl:call-template name="appendField_Dot">
  4421.                                         <xsl:with-param name="field" select="b:Institution"/>
  4422.                                     </xsl:call-template>
  4423.                                 </xsl:variable>
  4424.                                 
  4425.                                 <xsl:variable name="courtDot">
  4426.                                     <xsl:call-template name="appendField_Dot">
  4427.                                         <xsl:with-param name="field" select="b:Court"/>
  4428.                                     </xsl:call-template>
  4429.                                 </xsl:variable>
  4430.                                 
  4431.                                 <xsl:variable name="thesisTypeDot">
  4432.                                     <xsl:call-template name="appendField_Dot">
  4433.                                         <xsl:with-param name="field" select="b:ThesisType"/>
  4434.                                     </xsl:call-template>
  4435.                                 </xsl:variable>
  4436.                                 
  4437.                                 <xsl:variable name="journalNameDot">
  4438.                                     <xsl:call-template name="appendField_Dot">
  4439.                                         <xsl:with-param name="field" select="b:JournalName"/>
  4440.                                     </xsl:call-template>
  4441.                                 </xsl:variable>
  4442.                                 
  4443.                                 <xsl:variable name="journalName">
  4444.                                     <xsl:call-template name="handleSpaces">
  4445.                                         <xsl:with-param name="field" select="b:JournalName"/>
  4446.                                     </xsl:call-template>
  4447.                                 </xsl:variable>
  4448.  
  4449.                                 <xsl:variable name="internetSiteTitleDot">
  4450.                                     <xsl:call-template name="appendField_Dot">
  4451.                                         <xsl:with-param name="field" select="b:InternetSiteTitle"/>
  4452.                                     </xsl:call-template>
  4453.                                 </xsl:variable>
  4454.                                 
  4455.                                 <xsl:variable name="mediumDot">
  4456.                                     <xsl:call-template name="appendField_Dot">
  4457.                                         <xsl:with-param name="field" select="b:Medium"/>
  4458.                                     </xsl:call-template>
  4459.                                 </xsl:variable>
  4460.                                 
  4461.                                 <xsl:variable name="issueDot">
  4462.                                     <xsl:call-template name="appendField_Dot">
  4463.                                         <xsl:with-param name="field" select="b:Issue"/>
  4464.                                     </xsl:call-template>
  4465.                                 </xsl:variable>
  4466.  
  4467.                                 <xsl:variable name="numberVolumesDot">
  4468.                                     <xsl:if test="string-length(b:NumberVolumes) > 0">
  4469.                                         <xsl:call-template name="appendField_Dot">
  4470.                                             <xsl:with-param name="field">
  4471.                                                 <xsl:call-template name="StringFormat">
  4472.                                                     <xsl:with-param name="format">
  4473.                                                         <xsl:call-template name="templ_str_VolumesAfterShortUnCap"/>
  4474.                                                     </xsl:with-param>
  4475.                                                     <xsl:with-param name="parameters">
  4476.                                                         <t:params>
  4477.                                                             <t:param>
  4478.                                                                 <xsl:value-of select="b:NumberVolumes"/>
  4479.                                                             </t:param>
  4480.                                                         </t:params>
  4481.                                                     </xsl:with-param>
  4482.                                                 </xsl:call-template>
  4483.                                             </xsl:with-param>
  4484.                                         </xsl:call-template>
  4485.                                     </xsl:if>
  4486.                                 </xsl:variable>
  4487.  
  4488.                                 <xsl:variable name="str_NumberShortUnCap">
  4489.                                     <xsl:call-template name="templ_str_NumberShortUnCap"/>
  4490.                                 </xsl:variable>
  4491.  
  4492.                                 <xsl:variable name="noIssueDot">
  4493.                                   <xsl:if test="string-length(b:Issue) > 0">
  4494.                                     <xsl:call-template name="appendField_Dot">
  4495.                                         <xsl:with-param name="field">
  4496.                                             <xsl:call-template name="StringFormat">
  4497.                                                   <xsl:with-param name="format" select="$str_NumberShortUnCap"/>
  4498.                                                   <xsl:with-param name="parameters">
  4499.                                                       <t:params>
  4500.                                                           <t:param>
  4501.                                                             <xsl:value-of select="b:Issue"/>
  4502.                                                         </t:param>
  4503.                                                       </t:params>
  4504.                                                   </xsl:with-param>
  4505.                                             </xsl:call-template>
  4506.                                         </xsl:with-param>                                
  4507.                                     </xsl:call-template>
  4508.                                   </xsl:if>
  4509.                                 </xsl:variable>
  4510.                                 
  4511.                                 <xsl:variable name="productionCompanyDot">
  4512.                                     <xsl:call-template name="appendField_Dot">
  4513.                                         <xsl:with-param name="field" select="b:ProductionCompany"/>
  4514.                                     </xsl:call-template>
  4515.                                 </xsl:variable>
  4516.                                 
  4517.                                 <xsl:variable name="editionDot">
  4518.                                     <xsl:call-template name="appendField_Dot">
  4519.                                         <xsl:with-param name="field" select="b:Edition"/>
  4520.                                     </xsl:call-template>
  4521.                                 </xsl:variable>
  4522.                                 
  4523.                                 <xsl:variable name="broadcastTitle">
  4524.                                     <xsl:call-template name="handleSpaces">
  4525.                                         <xsl:with-param name="field" select="b:BroadcastTitle"/>
  4526.                                     </xsl:call-template>
  4527.                                 </xsl:variable>
  4528.                                 
  4529.                                 <xsl:variable name="versionDot">
  4530.                                     <xsl:call-template name="appendField_Dot">
  4531.                                         <xsl:with-param name="field" select="b:Version"/>
  4532.                                     </xsl:call-template>
  4533.                                 </xsl:variable>
  4534.  
  4535.                                 <xsl:variable name="broadcastTitleDot">
  4536.                                     <xsl:call-template name="appendField_Dot">
  4537.                                         <xsl:with-param name="field" select="b:BroadcastTitle"/>
  4538.                                     </xsl:call-template>
  4539.                                 </xsl:variable>
  4540.  
  4541.                                 <xsl:variable name="periodicalTitleDot">
  4542.                                     <xsl:call-template name="appendField_Dot">
  4543.                                         <xsl:with-param name="field" select="b:PeriodicalTitle"/>
  4544.                                     </xsl:call-template>
  4545.                                 </xsl:variable>
  4546.  
  4547.                                 <xsl:variable name="periodicalTitle">
  4548.                                     <xsl:call-template name="handleSpaces">
  4549.                                         <xsl:with-param name="field" select="b:PeriodicalTitle"/>
  4550.                                     </xsl:call-template>
  4551.                                 </xsl:variable>
  4552.  
  4553.                                 <xsl:variable name="productionCompany">
  4554.                                     <xsl:call-template name="handleSpaces">
  4555.                                         <xsl:with-param name="field" select="b:ProductionCompany"/>
  4556.                                     </xsl:call-template>
  4557.                                 </xsl:variable>
  4558.  
  4559.                                 <xsl:variable name="caseNumber">
  4560.                                     <xsl:call-template name="handleSpaces">
  4561.                                         <xsl:with-param name="field" select="b:CaseNumber"/>
  4562.                                     </xsl:call-template>
  4563.                                 </xsl:variable>
  4564.                                 
  4565.                                 <xsl:variable name="broadcaster">
  4566.                                     <xsl:call-template name="handleSpaces">
  4567.                                         <xsl:with-param name="field" select="b:Broadcaster"/>
  4568.                                     </xsl:call-template>
  4569.                                 </xsl:variable>
  4570.                                 
  4571.                                 <xsl:variable name="volume">
  4572.                                     <xsl:call-template name="handleSpaces">
  4573.                                         <xsl:with-param name="field" select="b:Volume"/>
  4574.                                     </xsl:call-template>
  4575.                                 </xsl:variable>
  4576.                                 
  4577.                                 
  4578.  
  4579.  
  4580.                                 <xsl:variable name="prefixVersionDot">
  4581.                                     <xsl:if test="string-length($versionDot)>0">
  4582.                                         <xsl:call-template name="templ_str_VersionShortCap"/>
  4583.                                         <xsl:call-template name="templ_prop_Space"/>
  4584.                                         <xsl:value-of select="$versionDot"/>
  4585.                                     </xsl:if>
  4586.                                 </xsl:variable>
  4587.  
  4588.                                 <xsl:variable name="prefixEditorDot">
  4589.                                     <xsl:if test="string-length($editor)>0">
  4590.                                         <xsl:if test="$cEditors > 1">
  4591.                                             
  4592.                                             <xsl:call-template name="templ_str_EditorShortCap"/>
  4593.                                         </xsl:if>
  4594.                                         <xsl:if test="$cEditors = 1">
  4595.                                             <xsl:call-template name="templ_str_EditorShortCap"/>
  4596.                                         </xsl:if>
  4597.                                         <xsl:call-template name="templ_prop_Space"/>
  4598.                                         <xsl:call-template name="appendField_Dot">
  4599.                                             <xsl:with-param name="field" select="$editor"/>
  4600.                                         </xsl:call-template>
  4601.                                     </xsl:if>
  4602.                                 </xsl:variable>
  4603.  
  4604.                                 <xsl:variable name="prefixTranslatorDot">
  4605.                                     <xsl:if test="string-length($translator)>0">
  4606.                                         <xsl:if test="$cTranslators > 1">
  4607.                                             <xsl:call-template name="templ_str_TranslatorsShortCap"/>
  4608.                                         </xsl:if>
  4609.                                         <xsl:if test="$cTranslators = 1">
  4610.                                             <xsl:call-template name="templ_str_TranslatorShortCap"/>
  4611.                                         </xsl:if>
  4612.                                         <xsl:call-template name="templ_prop_Space"/>
  4613.                                         <xsl:call-template name="appendField_Dot">
  4614.                                             <xsl:with-param name="field" select="$translator"/>
  4615.                                         </xsl:call-template>
  4616.                                     </xsl:if>
  4617.                                 </xsl:variable>
  4618.  
  4619.                                 <xsl:variable name="prefixDirectorDot">
  4620.                                     <xsl:if test="string-length($director)>0">
  4621.                                         <xsl:if test="$cDirectors > 1">
  4622.                                             <xsl:call-template name="templ_str_DirectorsShortCap"/>
  4623.                                         </xsl:if>
  4624.                                         <xsl:if test="$cDirectors = 1">
  4625.                                             <xsl:call-template name="templ_str_DirectorShortCap"/>
  4626.                                         </xsl:if>
  4627.                                         <xsl:call-template name="templ_prop_Space"/>
  4628.                                         <xsl:call-template name="appendField_Dot">
  4629.                                             <xsl:with-param name="field" select="$director"/>
  4630.                                         </xsl:call-template>
  4631.                                     </xsl:if>
  4632.                                 </xsl:variable>
  4633.  
  4634.                                 <xsl:variable name="prefixPerformerDot">
  4635.                                     <xsl:if test="string-length($performer)>0">
  4636.                                         <xsl:if test="$cPerformers > 1">
  4637.                                             
  4638.                                             <xsl:call-template name="templ_str_PerformerShortCap"/>
  4639.                                         </xsl:if>
  4640.                                         <xsl:if test="$cPerformers = 1">
  4641.                                             <xsl:call-template name="templ_str_PerformerShortCap"/>
  4642.                                         </xsl:if>
  4643.                                         <xsl:call-template name="templ_prop_Space"/>
  4644.                                         <xsl:call-template name="appendField_Dot">
  4645.                                             <xsl:with-param name="field" select="$performer"/>
  4646.                                         </xsl:call-template>
  4647.                                     </xsl:if>
  4648.                                 </xsl:variable>
  4649.  
  4650.                                 <xsl:variable name="sufixEditorLFDot">
  4651.                                     <xsl:if test="string-length($editorLF)>0">
  4652.                                         <xsl:value-of select="$editorLF"/>
  4653.                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  4654.                                         <xsl:if test="$cEditors > 1">
  4655.                                             <xsl:call-template name="templ_str_EditorsShortUnCap"/>
  4656.                                         </xsl:if>
  4657.                                         <xsl:if test="$cEditors = 1">
  4658.                                             <xsl:call-template name="templ_str_EditorShortUnCap"/>
  4659.                                         </xsl:if>
  4660.                                     </xsl:if>
  4661.                                 </xsl:variable>
  4662.  
  4663.                                 <xsl:variable name="prefixConductorDot">
  4664.                                     <xsl:if test="string-length($conductor)>0">
  4665.                                         <xsl:if test="$cConductors > 1">
  4666.                                             <xsl:call-template name="templ_str_ConductorsShortCap"/>
  4667.                                         </xsl:if>
  4668.                                         <xsl:if test="$cConductors = 1">
  4669.                                             <xsl:call-template name="templ_str_ConductorShortCap"/>
  4670.                                         </xsl:if>
  4671.                                         <xsl:call-template name="templ_prop_Space"/>
  4672.                                         <xsl:call-template name="appendField_Dot">
  4673.                                             <xsl:with-param name="field" select="$conductor"/>
  4674.                                         </xsl:call-template>
  4675.                                     </xsl:if>
  4676.                                 </xsl:variable>
  4677.  
  4678.                                 <xsl:variable name="prefixComposerDot">
  4679.                                     <xsl:if test="string-length($composer)>0">
  4680.                                         <xsl:if test="$cComposers > 1">
  4681.                                             <xsl:call-template name="templ_str_ComposersShortCap"/>
  4682.                                         </xsl:if>
  4683.                                         <xsl:if test="$cComposers = 1">
  4684.                                             <xsl:call-template name="templ_str_ComposerShortCap"/>
  4685.                                         </xsl:if>
  4686.                                         <xsl:call-template name="templ_prop_Space"/>
  4687.                                         <xsl:call-template name="appendField_Dot">
  4688.                                             <xsl:with-param name="field" select="$composer"/>
  4689.                                         </xsl:call-template>
  4690.                                     </xsl:if>
  4691.                                 </xsl:variable>
  4692.  
  4693.                                 <xsl:variable name="prefixCompilerDot">
  4694.                                     <xsl:if test="string-length($compiler)>0">
  4695.                                         <xsl:if test="$cCompilers > 1">
  4696.                                             <xsl:call-template name="templ_str_CompilersShortCap"/>
  4697.                                         </xsl:if>
  4698.                                         <xsl:if test="$cCompilers = 1">
  4699.                                             <xsl:call-template name="templ_str_CompilerShortCap"/>
  4700.                                         </xsl:if>
  4701.                                         <xsl:call-template name="templ_prop_Space"/>
  4702.                                         <xsl:call-template name="appendField_Dot">
  4703.                                             <xsl:with-param name="field" select="$compiler"/>
  4704.                                         </xsl:call-template>
  4705.                                     </xsl:if>
  4706.                                 </xsl:variable>
  4707.  
  4708.                                 <xsl:variable name="sufixCompilerLFDot">
  4709.                                     <xsl:if test="string-length($compilerLF)>0">
  4710.                                         <xsl:value-of select="$compilerLF"/>
  4711.                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  4712.                                         <xsl:if test="$cCompilers > 1">
  4713.                                             <xsl:call-template name="templ_str_CompilersShortUnCap"/>
  4714.                                         </xsl:if>
  4715.                                         <xsl:if test="$cCompilers = 1">
  4716.                                             <xsl:call-template name="templ_str_CompilerShortUnCap"/>
  4717.                                         </xsl:if>
  4718.                                     </xsl:if>
  4719.                                 </xsl:variable>
  4720.                         
  4721.                             <xsl:variable name="prop_APA_Hyphens">
  4722.                               <xsl:call-template name="templ_prop_Hyphens"/>
  4723.                             </xsl:variable>
  4724.  
  4725.  
  4726.                                 <xsl:variable name="prefixVolume">
  4727.                                     <xsl:if test="string-length($volume)>0">
  4728.                                         <xsl:call-template name="StringFormat">
  4729.                                                 <xsl:with-param name="format">
  4730.                                               <xsl:choose>
  4731.                                                 <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  4732.                                                   <xsl:call-template name="templ_str_VolumesShortCap"/>
  4733.                                                 </xsl:when>
  4734.                                                 <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  4735.                                                   <xsl:call-template name="templ_str_VolumeShortCap"/>
  4736.                                                 </xsl:when>
  4737.                                                 <xsl:otherwise>
  4738.                                                   <xsl:call-template name="templ_str_VolumesShortCap"/>
  4739.                                                 </xsl:otherwise>
  4740.                                               </xsl:choose>
  4741.                                                 </xsl:with-param>
  4742.                                                 <xsl:with-param name="parameters">
  4743.                                                     <t:params>
  4744.                                                         <t:param>
  4745.                                                         <xsl:value-of select="$volume"/>
  4746.                                                     </t:param>
  4747.                                                     </t:params>
  4748.                                                 </xsl:with-param>
  4749.                                         </xsl:call-template>    
  4750.                                     </xsl:if>
  4751.                                 </xsl:variable>
  4752.                             
  4753.                                 <xsl:variable name="prefixVolumeDot">
  4754.                                     <xsl:if test="string-length($prefixVolume)>0">
  4755.                                         <xsl:call-template name="appendField_Dot">
  4756.                                             <xsl:with-param name="field">
  4757.                                                 <xsl:value-of select="$prefixVolume" />
  4758.                                             </xsl:with-param>
  4759.                                         </xsl:call-template>
  4760.                                     </xsl:if>
  4761.                                 </xsl:variable>
  4762.  
  4763.                                 <xsl:variable name="i_volumeBookTitle">
  4764.                                     <xsl:value-of select="$prefixVolume"/>
  4765.  
  4766.                                   <xsl:if test="(string-length($bookTitleDot)>0 or string-length(b:ChapterNumber) > 0) and string-length($prefixVolumeDot)>0">
  4767.                                       <xsl:call-template name="templ_prop_ListSeparator"/>
  4768.                                   </xsl:if>
  4769.                                   
  4770.                                 <xsl:call-template name="StringFormat">
  4771.                                     <xsl:with-param name="format">
  4772.                                         <xsl:if test="(string-length($bookTitleDot)>0 or string-length(b:ChapterNumber) > 0) and string-length($prefixVolumeDot)>0">
  4773.                                             <xsl:choose>
  4774.                                                 <xsl:when test = "string-length(b:BookTitle) > 0 and string-length(b:ChapterNumber) > 0">
  4775.                                                     <xsl:call-template name="templ_str_ChapterInUnCap"/>
  4776.                                                 </xsl:when>
  4777.                                                 <xsl:when test = "string-length(b:BookTitle)">
  4778.                                                     <xsl:call-template name="templ_str_InNameUnCap"/>
  4779.                                                 </xsl:when>
  4780.                                                 <xsl:when test = "string-length(b:ChapterNumber) > 0">
  4781.                                                     <xsl:call-template name="templ_str_ChapterUnCap"/>
  4782.                                                 </xsl:when>
  4783.                                             </xsl:choose>
  4784.                                         </xsl:if>
  4785.                                         <xsl:if test="not((string-length($bookTitleDot)>0 or string-length(b:ChapterNumber) > 0) and string-length($prefixVolumeDot)>0)">
  4786.                                             <xsl:choose>
  4787.                                                 <xsl:when test = "string-length(b:BookTitle) > 0 and string-length(b:ChapterNumber) > 0">
  4788.                                                     <xsl:call-template name="templ_str_ChapterInCap"/>
  4789.                                                 </xsl:when>
  4790.                                                 <xsl:when test = "string-length(b:BookTitle)">
  4791.                                                     <xsl:call-template name="templ_str_InNameCap"/>
  4792.                                                 </xsl:when>
  4793.                                                 <xsl:when test = "string-length(b:ChapterNumber) > 0">
  4794.                                                     <xsl:call-template name="templ_str_ChapterCap"/>
  4795.                                                 </xsl:when>
  4796.                                             </xsl:choose>
  4797.                                         </xsl:if>
  4798.                                     </xsl:with-param>
  4799.  
  4800.                                     <xsl:with-param name="parameters">
  4801.                                         <t:params>
  4802.                                             <xsl:if test = "string-length(b:ChapterNumber) > 0">
  4803.                                                 <t:param>
  4804.                                                     <xsl:value-of select="b:ChapterNumber"/>
  4805.                                                 </t:param>
  4806.                                             </xsl:if>                                                                                        
  4807.                                             <xsl:if test = "string-length(b:BookTitle)">
  4808.                                                 <t:param>
  4809.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  4810.                                                      <xsl:with-param name = "data">
  4811.                                                         <xsl:value-of select="b:BookTitle"/>
  4812.                                                      </xsl:with-param>
  4813.                                                     </xsl:call-template>
  4814.                                                 </t:param>
  4815.                                             </xsl:if>
  4816.                                         </t:params>
  4817.                                     </xsl:with-param>
  4818.                                 </xsl:call-template>
  4819.                                 </xsl:variable>
  4820.  
  4821.                                 <xsl:variable name="i_volumeBookTitleDot">
  4822.                                       <xsl:if test="string-length($i_volumeBookTitle)>0">
  4823.                                           <xsl:copy-of select="$i_volumeBookTitle"/>
  4824.                                         <xsl:call-template name="need_Dot">
  4825.                                             <xsl:with-param name="field" select ="$i_volumeBookTitle"/>
  4826.                                         </xsl:call-template>
  4827.                                       </xsl:if>
  4828.                                 </xsl:variable>
  4829.  
  4830.                                 <xsl:variable name="theCapShortPrefixVolumeDot">
  4831.                                     <xsl:if test="string-length($volume)>0">
  4832.                                         <xsl:call-template name="appendField_Dot">
  4833.                                             <xsl:with-param name="field">
  4834.                                                 <xsl:call-template name="StringFormat">
  4835.                                                       <xsl:with-param name="format">
  4836.                                                       <xsl:choose>
  4837.                                                         <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  4838.                                                           <xsl:call-template name="templ_str_VolumesShortCap"/>
  4839.                                                         </xsl:when>
  4840.                                                         <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  4841.                                                           <xsl:call-template name="templ_str_VolumeShortCap"/>
  4842.                                                         </xsl:when>
  4843.                                                         <xsl:otherwise>
  4844.                                                           <xsl:call-template name="templ_str_VolumesShortCap"/>
  4845.                                                         </xsl:otherwise>
  4846.                                                       </xsl:choose>
  4847.                                                       </xsl:with-param>
  4848.                                                       <xsl:with-param name="parameters">
  4849.                                                           <t:params>
  4850.                                                               <t:param>
  4851.                                                                 <xsl:value-of select="$volume"/>
  4852.                                                             </t:param>
  4853.                                                           </t:params>
  4854.                                                       </xsl:with-param>
  4855.                                                 </xsl:call-template>    
  4856.                                             </xsl:with-param>
  4857.                                         </xsl:call-template>
  4858.                                     </xsl:if>
  4859.                                 </xsl:variable>
  4860.  
  4861.                                 <xsl:variable name="sufixTranslatorLFDot">
  4862.                                     <xsl:if test="string-length($translatorLF)>0">
  4863.                                         <xsl:value-of select="$translatorLF"/>
  4864.                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  4865.                                         <xsl:if test="$cTranslators > 1">
  4866.                                             <xsl:call-template name="templ_str_TranslatorsShortUnCap"/>
  4867.                                         </xsl:if>
  4868.                                         <xsl:if test="$cTranslators = 1">
  4869.                                             <xsl:call-template name="templ_str_TranslatorShortUnCap"/>
  4870.                                         </xsl:if>
  4871.                                     </xsl:if>
  4872.                                 </xsl:variable>
  4873.  
  4874.                                 <xsl:variable name="caseNoDot">
  4875.                                     <xsl:value-of select="$caseNumber"/>
  4876.                                 </xsl:variable>
  4877.  
  4878.                                 <xsl:variable name="existProd">
  4879.                                     <xsl:if test="string-length(normalize-space($producerName))>0">
  4880.                                             <xsl:text>N</xsl:text>
  4881.                                     </xsl:if>
  4882.                                     <xsl:if test="string-length(normalize-space(b:ProductionCompany))">
  4883.                                             <xsl:text>C</xsl:text>
  4884.                                     </xsl:if>
  4885.                                 </xsl:variable>
  4886.  
  4887.                                 <xsl:variable name="prodDot">
  4888.                                     <xsl:if test="string-length($producerName)>0">
  4889.                                         <xsl:call-template name="appendField_Dot">
  4890.                                             <xsl:with-param name="field" select="$producerName"/>
  4891.                                         </xsl:call-template>
  4892.                                     </xsl:if>
  4893.  
  4894.                                     <xsl:if test="string-length($producerName)=0 and string-length($productionCompany)">
  4895.                                         <xsl:call-template name="appendField_Dot">
  4896.                                             <xsl:with-param name="field" select="$productionCompany"/>
  4897.                                         </xsl:call-template>
  4898.                                     </xsl:if>
  4899.                                 </xsl:variable>
  4900.  
  4901.                                 <xsl:variable name="prod">
  4902.                                     <xsl:if test="string-length($producerName)>0">
  4903.                                         <xsl:value-of select="$producerName"/>
  4904.                                     </xsl:if>
  4905.  
  4906.                                     <xsl:if test="string-length($producerName)=0 and string-length($productionCompany)">
  4907.                                         <xsl:value-of select="$productionCompany"/>
  4908.                                     </xsl:if>
  4909.                                 </xsl:variable>
  4910.  
  4911.                                 <xsl:variable name="prefixProdDot">
  4912.                                     <xsl:if test="string-length($producerName)>0 or string-length($productionCompany)>0">
  4913.                                         <xsl:if test="$cProducers > 1">
  4914.                                             <xsl:call-template name="templ_str_ProducersShortCap"/>
  4915.                                             <xsl:call-template name="templ_prop_Space"/>
  4916.                                         </xsl:if>
  4917.                                         <xsl:if test="$cProducers = 1">
  4918.                                             <xsl:call-template name="templ_str_ProducerShortCap"/>
  4919.                                             <xsl:call-template name="templ_prop_Space"/>
  4920.                                         </xsl:if>
  4921.  
  4922.                                         <xsl:value-of select="$prodDot"/>
  4923.                                     </xsl:if>
  4924.                                 </xsl:variable>
  4925.  
  4926.  
  4927.  
  4928.                                 <xsl:variable name="authorDot">
  4929.                                     <xsl:call-template name="appendField_Dot">
  4930.                                         <xsl:with-param name="field" select="$author"/>
  4931.                                     </xsl:call-template>
  4932.                                 </xsl:variable>
  4933.  
  4934.                                 <xsl:variable name="sectionAuthorDot">
  4935.                                     <xsl:call-template name="appendField_Dot">
  4936.                                         <xsl:with-param name="field" select="$sectionAuthor"/>
  4937.                                     </xsl:call-template>
  4938.                                 </xsl:variable>
  4939.  
  4940.                                 <xsl:variable name="bookAuthorDot">
  4941.                                     <xsl:call-template name="appendField_Dot">
  4942.                                         <xsl:with-param name="field" select="$bookAuthor"/>
  4943.                                     </xsl:call-template>
  4944.                                 </xsl:variable>
  4945.  
  4946.                                 <xsl:variable name="performerLFDot">
  4947.                                     <xsl:call-template name="appendField_Dot">
  4948.                                         <xsl:with-param name="field" select="$performerLF"/>
  4949.                                     </xsl:call-template>
  4950.                                 </xsl:variable>
  4951.  
  4952.                                 <xsl:variable name="artistDot">
  4953.                                     <xsl:call-template name="appendField_Dot">
  4954.                                         <xsl:with-param name="field" select="$artist"/>
  4955.                                     </xsl:call-template>
  4956.                                 </xsl:variable>
  4957.  
  4958.                                 <xsl:variable name="interviewerDot">
  4959.                                     <xsl:call-template name="appendField_Dot">
  4960.                                         <xsl:with-param name="field" select="$interviewer"/>
  4961.                                     </xsl:call-template>
  4962.                                 </xsl:variable>
  4963.  
  4964.                                 <xsl:variable name="intervieweeLFDot">
  4965.                                     <xsl:call-template name="appendField_Dot">
  4966.                                         <xsl:with-param name="field" select="$intervieweeLF"/>
  4967.                                     </xsl:call-template>
  4968.                                 </xsl:variable>
  4969.  
  4970.                                 <xsl:variable name="conductorLFDot">
  4971.                                     <xsl:call-template name="appendField_Dot">
  4972.                                         <xsl:with-param name="field" select="$conductorLF"/>
  4973.                                     </xsl:call-template>
  4974.                                 </xsl:variable>
  4975.  
  4976.                                 <xsl:variable name="inventorLFDot">
  4977.                                     <xsl:call-template name="appendField_Dot">
  4978.                                         <xsl:with-param name="field" select="$inventorLF"/>
  4979.                                     </xsl:call-template>
  4980.                                 </xsl:variable>
  4981.  
  4982.                                 <xsl:variable name="producerNameDot">
  4983.                                     <xsl:call-template name="appendField_Dot">
  4984.                                         <xsl:with-param name="field" select="$producerName"/>
  4985.                                     </xsl:call-template>
  4986.                                 </xsl:variable>
  4987.  
  4988.  
  4989.                                 <xsl:variable name="writerDot">
  4990.                                     <xsl:call-template name="appendField_Dot">
  4991.                                         <xsl:with-param name="field" select="$writer"/>
  4992.                                     </xsl:call-template>
  4993.                                 </xsl:variable>
  4994.  
  4995.                                 <xsl:variable name="composerLFDot">
  4996.                                     <xsl:call-template name="appendField_Dot">
  4997.                                         <xsl:with-param name="field" select="$composerLF"/>
  4998.                                     </xsl:call-template>
  4999.                                 </xsl:variable>
  5000.  
  5001.  
  5002.                                 <xsl:variable name="theAuthorSufix">
  5003.                                     <xsl:choose>
  5004.                                         <xsl:when test="string-length($author)>0">
  5005.                                             <xsl:value-of select="$authorMain"/>
  5006.                                         </xsl:when>
  5007.                                         <xsl:when test="string-length($editorLF)>0 and (b:SourceType='Book' or b:SourceType='Misc' or b:SourceType='ArticleInAPeriodical' or b:SourceType='ConferenceProceedings' or b:SourceType='InternetSite' or b:SourceType='DocumentFromInternetSite')">
  5008.                                             <xsl:value-of select="$editorLF"/>
  5009.                                             <xsl:call-template name="templ_prop_ListSeparator"/>
  5010.                                             <xsl:if test="$cEditors=1">
  5011.                                                 <xsl:call-template name="templ_str_EditorShortUnCap"/>
  5012.                                             </xsl:if>
  5013.                                             <xsl:if test="$cEditors>1">
  5014.                                                 <xsl:call-template name="templ_str_EditorsShortUnCap"/>
  5015.                                             </xsl:if>
  5016.                                         </xsl:when>
  5017.                                         <xsl:when test="string-length($compilerLF)>0 and (b:SourceType='Misc')">
  5018.                                             <xsl:value-of select="$compilerLF"/>
  5019.                                             <xsl:call-template name="templ_prop_ListSeparator"/>
  5020.                                             <xsl:if test="$cCompilers=1">
  5021.                                                 <xsl:call-template name="templ_str_CompilerShortUnCap"/>
  5022.                                             </xsl:if>
  5023.                                             <xsl:if test="$cCompilers>1">
  5024.                                                 <xsl:call-template name="templ_str_CompilersShortUnCap"/>
  5025.                                             </xsl:if>
  5026.                                         </xsl:when>
  5027.                                         <xsl:when test="string-length($translatorLF)>0 and (b:SourceType='Book' or b:SourceType='Misc')">
  5028.                                             <xsl:value-of select="$translatorLF"/>
  5029.                                             <xsl:call-template name="templ_prop_ListSeparator"/>
  5030.                                             <xsl:if test="$cTranslators=1">
  5031.                                                 <xsl:call-template name="templ_str_TranslatorShortUnCap"/>
  5032.                                             </xsl:if>
  5033.                                             <xsl:if test="$cTranslators>1">
  5034.                                                 <xsl:call-template name="templ_str_TranslatorsShortUnCap"/>
  5035.                                             </xsl:if>
  5036.                                         </xsl:when>
  5037.                                     </xsl:choose>
  5038.                                 </xsl:variable>
  5039.  
  5040.                                 <xsl:variable name="theAuthorSufixDot">
  5041.                                     <xsl:call-template name="appendField_Dot">
  5042.                                         <xsl:with-param name="field" select="$theAuthorSufix"/>
  5043.                                     </xsl:call-template>
  5044.                                 </xsl:variable>
  5045.  
  5046.  
  5047.                 <xsl:variable name="str_ByUnCap">
  5048.                   <xsl:call-template name="templ_str_ByUnCap"/>
  5049.                 </xsl:variable>
  5050.  
  5051.                 <xsl:variable name="theUnCapLongByAuthor">
  5052.                     <xsl:if test="string-length($bookAuthor)>0">
  5053.                         <xsl:call-template name="StringFormat">
  5054.                                 <xsl:with-param name="format" select="$str_ByUnCap"/>
  5055.                                 <xsl:with-param name="parameters">
  5056.                                     <t:params>
  5057.                                         <t:param>
  5058.                                         <xsl:value-of select="$bookAuthor"/>
  5059.                                     </t:param>
  5060.                                     </t:params>
  5061.                                 </xsl:with-param>
  5062.                         </xsl:call-template>
  5063.                     </xsl:if>
  5064.                 </xsl:variable>
  5065.  
  5066.                 <xsl:variable name="str_ByCap">
  5067.                   <xsl:call-template name="templ_str_ByCap"/>
  5068.                 </xsl:variable>
  5069.  
  5070.                 <xsl:variable name="theCapLongByAuthor">
  5071.                     <xsl:if test="string-length($bookAuthor)>0">
  5072.                         <xsl:call-template name="StringFormat">
  5073.                                 <xsl:with-param name="format" select="$str_ByCap"/>
  5074.                                 <xsl:with-param name="parameters">
  5075.                                     <t:params>
  5076.                                         <t:param>
  5077.                                         <xsl:value-of select="$bookAuthor"/>
  5078.                                     </t:param>
  5079.                                     </t:params>
  5080.                                 </xsl:with-param>
  5081.                         </xsl:call-template>
  5082.                     </xsl:if>
  5083.                 </xsl:variable>
  5084.                 
  5085.                 <xsl:variable name="str_EditedByCap">
  5086.                   <xsl:call-template name="templ_str_EditedByCap"/>
  5087.                 </xsl:variable>
  5088.  
  5089.                 <xsl:variable name="theCapLongPrefixEditor">
  5090.                                     <xsl:if test="string-length($editor)>0 and string-length($author)>0">
  5091.                                         <xsl:call-template name="StringFormat">
  5092.                                               <xsl:with-param name="format" select="$str_EditedByCap"/>
  5093.                                               <xsl:with-param name="parameters">
  5094.                                                   <t:params>
  5095.                                                       <t:param>
  5096.                                                         <xsl:value-of select="$editor"/>
  5097.                                                     </t:param>
  5098.                                                   </t:params>
  5099.                                               </xsl:with-param>
  5100.                                         </xsl:call-template>
  5101.                                     </xsl:if>
  5102.                                 </xsl:variable>
  5103.  
  5104.                                 <xsl:variable name="theCapLongPrefixEditorDot">
  5105.                                     <xsl:call-template name="appendField_Dot">
  5106.                                         <xsl:with-param name="field" select="$theCapLongPrefixEditor"/>
  5107.                                     </xsl:call-template>
  5108.                                 </xsl:variable>
  5109.  
  5110.                 <xsl:variable name="str_CompiledByCap">
  5111.                   <xsl:call-template name="templ_str_CompiledByCap"/>
  5112.                 </xsl:variable>
  5113.  
  5114.                 <xsl:variable name="theCapLongPrefixCompiler">
  5115.                                     <xsl:if test="string-length($compiler)>0 and (string-length($author)>0 or string-length($editor)>0)">
  5116.                                         <xsl:call-template name="StringFormat">
  5117.                                               <xsl:with-param name="format" select="$str_CompiledByCap"/>
  5118.                                               <xsl:with-param name="parameters">
  5119.                                                   <t:params>
  5120.                                                       <t:param>
  5121.                                                         <xsl:value-of select="$compiler"/>
  5122.                                                     </t:param>
  5123.                                                   </t:params>
  5124.                                               </xsl:with-param>
  5125.                                         </xsl:call-template>
  5126.                                     </xsl:if>
  5127.                                 </xsl:variable>
  5128.  
  5129.                                 <xsl:variable name="theCapLongPrefixCompilerDot">
  5130.                                     <xsl:call-template name="appendField_Dot">
  5131.                                         <xsl:with-param name="field" select="$theCapLongPrefixCompiler"/>
  5132.                                     </xsl:call-template>
  5133.                                 </xsl:variable>
  5134.                 
  5135.                 <xsl:variable name="str_TranslatedByCap">
  5136.                   <xsl:call-template name="templ_str_TranslatedByCap"/>
  5137.                 </xsl:variable>
  5138.  
  5139.                 <xsl:variable name="theCapLongPrefixTranslator">
  5140.                                     <xsl:if test="string-length($translator)>0 and (string-length($author)>0 or string-length($editor)>0 or string-length($compiler)>0)">
  5141.                                         <xsl:call-template name="StringFormat">
  5142.                                               <xsl:with-param name="format" select="$str_TranslatedByCap"/>
  5143.                                               <xsl:with-param name="parameters">
  5144.                                                   <t:params>
  5145.                                                       <t:param>
  5146.                                                         <xsl:value-of select="$translator"/>
  5147.                                                     </t:param>
  5148.                                                   </t:params>
  5149.                                               </xsl:with-param>
  5150.                                         </xsl:call-template>
  5151.                                     </xsl:if>
  5152.                                 </xsl:variable>
  5153.  
  5154.                                 <xsl:variable name="theCapLongPrefixTranslatorDot">
  5155.                                     <xsl:call-template name="appendField_Dot">
  5156.                                         <xsl:with-param name="field" select="$theCapLongPrefixTranslator"/>
  5157.                                     </xsl:call-template>
  5158.                                 </xsl:variable>
  5159.  
  5160.                 <xsl:variable name="theCapLongPrefixEditedBy">
  5161.                                     <xsl:if test="string-length($editor)>0">
  5162.                                         <xsl:call-template name="StringFormat">
  5163.                                               <xsl:with-param name="format" select="$str_EditedByCap"/>
  5164.                                               <xsl:with-param name="parameters">
  5165.                                                   <t:params>
  5166.                                                       <t:param>
  5167.                                                         <xsl:value-of select="$editor"/>
  5168.                                                     </t:param>
  5169.                                                   </t:params>
  5170.                                               </xsl:with-param>
  5171.                                         </xsl:call-template>
  5172.                                     </xsl:if>
  5173.                                 </xsl:variable>
  5174.  
  5175.                                 <xsl:variable name="theCapLongPrefixEditedByDot">
  5176.                                     <xsl:call-template name="appendField_Dot">
  5177.                                         <xsl:with-param name="field" select="$theCapLongPrefixEditedBy"/>
  5178.                                     </xsl:call-template>
  5179.                                 </xsl:variable>
  5180.  
  5181.                 <xsl:variable name="str_EditedByUnCap">
  5182.                   <xsl:call-template name="templ_str_EditedByUnCap"/>
  5183.                 </xsl:variable>
  5184.  
  5185.  
  5186.                 <xsl:variable name="theUnCapLongPrefixEditedBy">
  5187.                                     <xsl:if test="string-length($editor)>0">
  5188.                                         <xsl:call-template name="StringFormat">
  5189.                                               <xsl:with-param name="format" select="$str_EditedByUnCap"/>
  5190.                                               <xsl:with-param name="parameters">
  5191.                                                   <t:params>
  5192.                                                       <t:param>
  5193.                                                         <xsl:value-of select="$editor"/>
  5194.                                                     </t:param>
  5195.                                                   </t:params>
  5196.                                               </xsl:with-param>
  5197.                                         </xsl:call-template>
  5198.                                     </xsl:if>
  5199.                                 </xsl:variable>
  5200.  
  5201.                                 <xsl:variable name="theUnCapLongPrefixEditedByDot">
  5202.                                     <xsl:call-template name="appendField_Dot">
  5203.                                         <xsl:with-param name="field" select="$theUnCapLongPrefixEditedBy"/>
  5204.                                     </xsl:call-template>
  5205.                                 </xsl:variable>
  5206.  
  5207.                 <xsl:variable name="theCapLongPrefixTranslatedBy">
  5208.                                     <xsl:if test="string-length($translator)>0">
  5209.                                         <xsl:call-template name="StringFormat">
  5210.                                               <xsl:with-param name="format" select="$str_TranslatedByCap"/>
  5211.                                               <xsl:with-param name="parameters">
  5212.                                                   <t:params>
  5213.                                                       <t:param>
  5214.                                                         <xsl:value-of select="$translator"/>
  5215.                                                     </t:param>
  5216.                                                   </t:params>
  5217.                                               </xsl:with-param>
  5218.                                         </xsl:call-template>
  5219.                                     </xsl:if>
  5220.                                 </xsl:variable>
  5221.  
  5222.                                 <xsl:variable name="theCapLongPrefixTranslatedByDot">
  5223.                                     <xsl:call-template name="appendField_Dot">
  5224.                                         <xsl:with-param name="field" select="$theCapLongPrefixTranslatedBy"/>
  5225.                                     </xsl:call-template>
  5226.                                 </xsl:variable>
  5227.  
  5228.                 <xsl:variable name="str_TranslatedByUnCap">
  5229.                   <xsl:call-template name="templ_str_TranslatedByUnCap"/>
  5230.                 </xsl:variable>
  5231.  
  5232.  
  5233.                 <xsl:variable name="theUnCapLongPrefixTranslatedBy">
  5234.                                     <xsl:if test="string-length($translator)>0">
  5235.                                         <xsl:call-template name="StringFormat">
  5236.                                               <xsl:with-param name="format" select="$str_TranslatedByUnCap"/>
  5237.                                               <xsl:with-param name="parameters">
  5238.                                                   <t:params>
  5239.                                                       <t:param>
  5240.                                                         <xsl:value-of select="$translator"/>
  5241.                                                     </t:param>
  5242.                                                   </t:params>
  5243.                                               </xsl:with-param>
  5244.                                         </xsl:call-template>
  5245.                                     </xsl:if>
  5246.                                 </xsl:variable>
  5247.  
  5248.                                 <xsl:variable name="theUnCapLongPrefixTranslatedByDot">
  5249.                                     <xsl:call-template name="appendField_Dot">
  5250.                                         <xsl:with-param name="field" select="$theUnCapLongPrefixTranslatedBy"/>
  5251.                                     </xsl:call-template>
  5252.                                 </xsl:variable>
  5253.  
  5254.  
  5255.  
  5256.  
  5257.  
  5258.                                 <xsl:variable name="theCPAuthorSufix">
  5259.                                     <xsl:choose>
  5260.                                         <xsl:when test="string-length($author)>0">
  5261.                                             <xsl:value-of select="$authorMain"/>
  5262.                                         </xsl:when>
  5263.                                         <xsl:when test="string-length($editorLF)>0">
  5264.                                             <xsl:value-of select="$editorLF"/>
  5265.                                             <xsl:call-template name="templ_prop_ListSeparator"/>
  5266.                                             <xsl:if test="$cEditors=1">
  5267.                                                 <xsl:call-template name="templ_str_EditorShortUnCap"/>
  5268.                                             </xsl:if>
  5269.                                             <xsl:if test="$cEditors>1">
  5270.                                                 <xsl:call-template name="templ_str_EditorsShortUnCap"/>
  5271.                                             </xsl:if>
  5272.                                         </xsl:when>
  5273.                                     </xsl:choose>
  5274.                                 </xsl:variable>
  5275.  
  5276.                                 <xsl:variable name="theCPAuthorSufixDot">
  5277.                                     <xsl:call-template name="appendField_Dot">
  5278.                                         <xsl:with-param name="field" select="$theCPAuthorSufix"/>
  5279.                                     </xsl:call-template>
  5280.                                 </xsl:variable>
  5281.  
  5282.                 <xsl:variable name="theCPCapLongPrefixEditor">
  5283.                                     <xsl:if test="string-length($editor)>0 and string-length($author)>0">
  5284.                                         <xsl:call-template name="StringFormat">
  5285.                                               <xsl:with-param name="format" select="$str_EditedByCap"/>
  5286.                                               <xsl:with-param name="parameters">
  5287.                                                   <t:params>
  5288.                                                       <t:param>
  5289.                                                         <xsl:value-of select="$editor"/>
  5290.                                                     </t:param>
  5291.                                                   </t:params>
  5292.                                               </xsl:with-param>
  5293.                                         </xsl:call-template>
  5294.                                     </xsl:if>
  5295.                                 </xsl:variable>
  5296.  
  5297.                                 <xsl:variable name="theCPCapLongPrefixEditorDot">
  5298.                                     <xsl:call-template name="appendField_Dot">
  5299.                                         <xsl:with-param name="field" select="$theCapLongPrefixEditor"/>
  5300.                                     </xsl:call-template>
  5301.                                 </xsl:variable>
  5302.  
  5303.                 <xsl:variable name="str_DirectedByCap">
  5304.                   <xsl:call-template name="templ_str_DirectedByCap"/>
  5305.                 </xsl:variable>
  5306.  
  5307.                 <xsl:variable name="theCapLongPrefixDirectedBy">
  5308.                                     <xsl:if test="string-length($director)>0">
  5309.                                         <xsl:call-template name="StringFormat">
  5310.                                               <xsl:with-param name="format" select="$str_DirectedByCap"/>
  5311.                                               <xsl:with-param name="parameters">
  5312.                                                   <t:params>
  5313.                                                       <t:param>
  5314.                                                         <xsl:value-of select="$director"/>
  5315.                                                     </t:param>
  5316.                                                   </t:params>
  5317.                                               </xsl:with-param>
  5318.                                         </xsl:call-template>
  5319.                                     </xsl:if>
  5320.                                 </xsl:variable>
  5321.  
  5322.                                 <xsl:variable name="theCapLongPrefixDirectedByDot">
  5323.                                     <xsl:call-template name="appendField_Dot">
  5324.                                         <xsl:with-param name="field" select="$theCapLongPrefixDirectedBy"/>
  5325.                                     </xsl:call-template>
  5326.                                 </xsl:variable>
  5327.  
  5328.                 <xsl:variable name="str_PerformedByCap">
  5329.                   <xsl:call-template name="templ_str_PerformedByCap"/>
  5330.                 </xsl:variable>
  5331.  
  5332.                 <xsl:variable name="theCapLongPrefixPerformedBy">
  5333.                                     <xsl:if test="string-length($performer)>0">
  5334.                                         <xsl:call-template name="StringFormat">
  5335.                                               <xsl:with-param name="format" select="$str_PerformedByCap"/>
  5336.                                               <xsl:with-param name="parameters">
  5337.                                                   <t:params>
  5338.                                                       <t:param>
  5339.                                                         <xsl:value-of select="$performer"/>
  5340.                                                     </t:param>
  5341.                                                   </t:params>
  5342.                                               </xsl:with-param>
  5343.                                         </xsl:call-template>
  5344.                                     </xsl:if>
  5345.                                 </xsl:variable>
  5346.  
  5347.                                 <xsl:variable name="theCapLongPrefixPerformedByDot">
  5348.                                     <xsl:call-template name="appendField_Dot">
  5349.                                         <xsl:with-param name="field" select="$theCapLongPrefixPerformedBy"/>
  5350.                                     </xsl:call-template>
  5351.                                 </xsl:variable>
  5352.  
  5353.                 <xsl:variable name="str_ProducedByCap">
  5354.                   <xsl:call-template name="templ_str_ProducedByCap"/>
  5355.                 </xsl:variable>
  5356.  
  5357.                 <xsl:variable name="theCapLongPrefixProducedBy">
  5358.                                     <xsl:if test="string-length($prod)>0">
  5359.                                         <xsl:call-template name="StringFormat">
  5360.                                               <xsl:with-param name="format" select="$str_ProducedByCap"/>
  5361.                                               <xsl:with-param name="parameters">
  5362.                                                   <t:params>
  5363.                                                       <t:param>
  5364.                                                         <xsl:value-of select="$prod"/>
  5365.                                                     </t:param>
  5366.                                                   </t:params>
  5367.                                               </xsl:with-param>
  5368.                                         </xsl:call-template>
  5369.                                     </xsl:if>
  5370.                                 </xsl:variable>
  5371.  
  5372.                                 <xsl:variable name="theCapLongPrefixProducedByDot">
  5373.                                     <xsl:call-template name="appendField_Dot">
  5374.                                         <xsl:with-param name="field" select="$theCapLongPrefixProducedBy"/>
  5375.                                     </xsl:call-template>
  5376.                                 </xsl:variable>
  5377.  
  5378.  
  5379.  
  5380.  
  5381.  
  5382.                                 <xsl:choose>
  5383.                                     <xsl:when test="b:SourceType='Book'">
  5384.                                     
  5385.                                         <xsl:if test="string-length($theAuthorSufixDot)>0">
  5386.                                             <xsl:value-of select="$theAuthorSufixDot"/>
  5387.                                         </xsl:if>
  5388.                                         
  5389.                                         <xsl:if test="string-length($titleDot)>0">
  5390.                                             <xsl:if test="string-length($theAuthorSufixDot)>0">
  5391.                                                 <xsl:call-template name="templ_prop_Space"/>
  5392.                                             </xsl:if>
  5393.  
  5394.                                             <xsl:call-template name = "ApplyItalicTitleNS">
  5395.                                              <xsl:with-param name = "data">
  5396.                                             <xsl:value-of select="$titleDot"/>
  5397.                                              </xsl:with-param>
  5398.                                             </xsl:call-template>
  5399.                                         </xsl:if>
  5400.                                         
  5401.                                         <xsl:if test="string-length($editionDot)>0">
  5402.                                             <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0">
  5403.                                                 <xsl:call-template name="templ_prop_Space"/>
  5404.                                             </xsl:if>
  5405.  
  5406.                                             <xsl:value-of select="$editionDot"/>
  5407.                                         </xsl:if>
  5408.  
  5409.                                         <xsl:if test="string-length($theCapLongPrefixEditorDot)>0">
  5410.                                             <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($editionDot)>0">
  5411.                                                 <xsl:call-template name="templ_prop_Space"/>
  5412.                                             </xsl:if>
  5413.  
  5414.                                             <xsl:value-of select="$theCapLongPrefixEditorDot"/>
  5415.                                         </xsl:if>
  5416.                                     
  5417.                                         <xsl:if test="string-length($theCapLongPrefixTranslatorDot)>0">
  5418.                                             <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCapLongPrefixEditorDot)>0 or string-length($editionDot)>0">
  5419.                                                 <xsl:call-template name="templ_prop_Space"/>
  5420.                                             </xsl:if>
  5421.  
  5422.                                             <xsl:value-of select="$theCapLongPrefixTranslatorDot"/>
  5423.                                         </xsl:if>
  5424.                                     
  5425.                                         <xsl:if test="string-length($theCapShortPrefixVolumeDot)>0">
  5426.                                             <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCapLongPrefixEditorDot)>0 or string-length($theCapLongPrefixTranslatorDot)>0 or string-length($editionDot)>0">
  5427.                                                 <xsl:call-template name="templ_prop_Space"/>
  5428.                                             </xsl:if>
  5429.  
  5430.                                             <xsl:value-of select="$theCapShortPrefixVolumeDot"/>
  5431.                                         </xsl:if>
  5432.  
  5433.                                         <xsl:if test="string-length($numberVolumesDot)>0">
  5434.                                             <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCapLongPrefixEditorDot)>0 or string-length($theCapLongPrefixTranslatorDot)>0 or string-length($theCapShortPrefixVolumeDot)>0 or string-length($editionDot)>0">
  5435.                                                 <xsl:call-template name="templ_prop_Space"/>
  5436.                                             </xsl:if>
  5437.  
  5438.                                             <xsl:value-of select="$numberVolumesDot"/>
  5439.                                         </xsl:if>
  5440.  
  5441.                                         <xsl:if test="string-length($tempCPY)>0">
  5442.                                             <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCapLongPrefixEditorDot)>0 or string-length($theCapLongPrefixTranslatorDot)>0 or string-length($theCapShortPrefixVolumeDot)>0 or string-length($editionDot)>0 or string-length($numberVolumesDot)>0">
  5443.                                                 <xsl:call-template name="templ_prop_Space"/>
  5444.                                             </xsl:if>
  5445.  
  5446.                                             <xsl:value-of select="$tempCPY"/>
  5447.                                         </xsl:if>
  5448.                                     
  5449.                                     </xsl:when>
  5450.  
  5451.  
  5452.                                     <xsl:when test="b:SourceType='ConferenceProceedings'">
  5453.                                     
  5454.                                         <xsl:if test="string-length($theCPAuthorSufixDot)>0">
  5455.                                             <xsl:value-of select="$theCPAuthorSufixDot"/>
  5456.                                         </xsl:if>
  5457.                                         
  5458.                                         <xsl:if test="string-length($titleDot)>0">
  5459.                                             <xsl:if test="string-length($theCPAuthorSufixDot)>0">
  5460.                                                 <xsl:call-template name="templ_prop_Space"/>
  5461.                                             </xsl:if>
  5462.  
  5463.                                             <xsl:call-template name="templ_prop_OpenQuote"/>
  5464.                                             <xsl:value-of select="$titleDot"/>
  5465.                                             <xsl:call-template name="templ_prop_CloseQuote"/>
  5466.                                         </xsl:if>
  5467.                                         
  5468.                                         <xsl:if test="string-length($theCPCapLongPrefixEditorDot)>0">
  5469.                                             <xsl:if test="string-length($theCPAuthorSufixDot)>0 or string-length($titleDot)>0">
  5470.                                                 <xsl:call-template name="templ_prop_Space"/>
  5471.                                             </xsl:if>
  5472.  
  5473.                                             <xsl:value-of select="$theCPCapLongPrefixEditorDot"/>
  5474.                                         </xsl:if>
  5475.                                     
  5476.                                     
  5477.                                         <xsl:if test="string-length($conferenceNameDot)>0">
  5478.                                             <xsl:if test="string-length($theCPAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0">
  5479.                                                 <xsl:call-template name="templ_prop_Space"/>
  5480.                                             </xsl:if>
  5481.  
  5482.                                             <xsl:call-template name = "ApplyItalicTitleNS">
  5483.                                              <xsl:with-param name = "data">
  5484.                                             <xsl:value-of select="$conferenceNameDot"/>
  5485.                                              </xsl:with-param>
  5486.                                             </xsl:call-template>
  5487.                                         </xsl:if>
  5488.  
  5489.                                         <xsl:if test="string-length($tempCPY)>0">
  5490.                                             <xsl:if test="string-length($theCPAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($conferenceNameDot)>0">
  5491.                                                 <xsl:call-template name="templ_prop_Space"/>
  5492.                                             </xsl:if>
  5493.  
  5494.                                             <xsl:value-of select="$tempCPY"/>
  5495.                                         </xsl:if>
  5496.                                     
  5497.                                         <xsl:if test="string-length($pagesDot)>0">
  5498.                                             <xsl:if test="string-length($theCPAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($conferenceNameDot)>0 or string-length($tempCPY)>0">
  5499.                                                 <xsl:call-template name="templ_prop_Space"/>
  5500.                                             </xsl:if>
  5501.  
  5502.                                             <xsl:value-of select="$pagesDot"/>
  5503.                                         </xsl:if>
  5504.  
  5505.                                     </xsl:when>
  5506.  
  5507.  
  5508.  
  5509.                                     
  5510.                                     <xsl:when test="b:SourceType='BookSection'">
  5511.                                                 <xsl:if test="string-length($sectionAuthorDot)>0">
  5512.                                                     <xsl:value-of select="$sectionAuthorDot"/>
  5513.                                                 </xsl:if>
  5514.  
  5515.                                                 <xsl:choose>
  5516.                                                     <xsl:when test = "string-length($volume)>0">
  5517.                                                         <xsl:if test="string-length($titleDot)>0">
  5518.                                                             <xsl:if test="string-length($sectionAuthorDot)>0">
  5519.                                                                 <xsl:call-template name="templ_prop_Space"/>
  5520.                                                             </xsl:if>
  5521.  
  5522.                                                             <xsl:call-template name = "ApplyItalicTitleNS">
  5523.                                                              <xsl:with-param name = "data">
  5524.                                                                 <xsl:value-of select="$titleDot"/>
  5525.                                                              </xsl:with-param>
  5526.                                                             </xsl:call-template>
  5527.                                                             <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0">
  5528.                                                                 <xsl:call-template name="templ_prop_Space"/>
  5529.                                                             </xsl:if>
  5530.                                                         </xsl:if>
  5531.                                                     </xsl:when>
  5532.                                                     
  5533.                                                     <xsl:otherwise>
  5534.                                                         <xsl:if test="string-length($titleDot)>0">
  5535.                                                             <xsl:if test="string-length($sectionAuthorDot)>0">
  5536.                                                                 <xsl:call-template name="templ_prop_Space"/>
  5537.                                                             </xsl:if>
  5538.  
  5539.                                                             <xsl:call-template name="templ_prop_OpenQuote"/>
  5540.                                                             
  5541.                                                             <xsl:value-of select="$titleDot"/>
  5542.                                                             
  5543.                                                             <xsl:call-template name="templ_prop_CloseQuote"/>
  5544.                                                         </xsl:if>
  5545.                                                         <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0">
  5546.                                                             <xsl:call-template name="templ_prop_Space"/>
  5547.                                                         </xsl:if>
  5548.                                                         
  5549.                                                     </xsl:otherwise>
  5550.                                                 </xsl:choose>
  5551.  
  5552.  
  5553.  
  5554.  
  5555.                                                 <xsl:call-template name='PrintSpaceAndList'>
  5556.                                                     <xsl:with-param name="list">
  5557.                                                         <Items>
  5558.                                                             <CopyItem>
  5559.  
  5560.                                                                 <xsl:choose>
  5561.                                                                     <xsl:when test = "string-length($volume)>0">
  5562.                                                                         <xsl:if test="string-length($i_volumeBookTitleDot)>0">
  5563.                                                                             <xsl:copy-of select="$i_volumeBookTitle"/>
  5564.                                                                         </xsl:if>
  5565.                                                                     </xsl:when>
  5566.                                                                     
  5567.                                                                     <xsl:otherwise>
  5568.                                                                         <xsl:call-template name="StringFormat">
  5569.                                                                             <xsl:with-param name="format">
  5570.                                                                                 <xsl:choose>
  5571.                                                                                     <xsl:when test = "string-length(b:BookTitle) > 0 and string-length(b:ChapterNumber) > 0">
  5572.                                                                                         <xsl:call-template name="templ_str_ChapterInCap"/>
  5573.                                                                                     </xsl:when>
  5574.                                                                                     <xsl:when test = "string-length(b:BookTitle)">
  5575.                                                                                         <xsl:call-template name="templ_str_InNameCap"/>
  5576.                                                                                     </xsl:when>
  5577.                                                                                     <xsl:when test = "string-length(b:ChapterNumber) > 0">
  5578.                                                                                         <xsl:call-template name="templ_str_ChapterCap"/>
  5579.                                                                                     </xsl:when>
  5580.                                                                                 </xsl:choose>
  5581.                                                                             </xsl:with-param>
  5582.  
  5583.                                                                             <xsl:with-param name="parameters">
  5584.                                                                                 <t:params>
  5585.                                                                                     <xsl:if test = "string-length(b:ChapterNumber) > 0">
  5586.                                                                                         <t:param>
  5587.                                                                                             <xsl:value-of select="b:ChapterNumber"/>
  5588.                                                                                         </t:param>
  5589.                                                                                     </xsl:if>                                                                                        
  5590.                                                                                     <xsl:if test = "string-length(b:BookTitle)">
  5591.                                                                                         <t:param>
  5592.                                                                                             <xsl:call-template name = "ApplyItalicTitleNS">
  5593.                                                                                              <xsl:with-param name = "data">
  5594.                                                                                                 <xsl:value-of select="b:BookTitle"/>
  5595.                                                                                              </xsl:with-param>
  5596.                                                                                             </xsl:call-template>
  5597.                                                                                         </t:param>
  5598.                                                                                     </xsl:if>
  5599.                                                                                 </t:params>
  5600.                                                                             </xsl:with-param>
  5601.                                                                         </xsl:call-template>
  5602.                                                                     </xsl:otherwise>
  5603.                                                                 </xsl:choose>
  5604.                                                             </CopyItem>
  5605.                                                             <TextItem>
  5606.                                                                 <xsl:choose>
  5607.                                                                     <xsl:when test = "string-length(b:ChapterNumber)=0 and string-length($volume)=0 and string-length($bookTitleDot)=0">
  5608.                                                                         <xsl:value-of select="$theCapLongByAuthor"/>
  5609.                                                                     </xsl:when>
  5610.                                                                     <xsl:otherwise>
  5611.                                                                         <xsl:value-of select="$theUnCapLongByAuthor"/>
  5612.                                                                     </xsl:otherwise>
  5613.                                                                 </xsl:choose>
  5614.                                                             </TextItem>
  5615.                                                             <TextItem>
  5616.                                                                 <xsl:choose>
  5617.                                                                     <xsl:when test = "string-length(b:ChapterNumber)=0 and string-length($volume)=0 and string-length($bookTitleDot)=0 and string-length($theCapLongByAuthor)=0">
  5618.                                                                         <xsl:value-of select="$theCapLongPrefixEditedBy"/>
  5619.                                                                     </xsl:when>
  5620.                                                                     <xsl:otherwise>
  5621.                                                                         <xsl:value-of select="$theUnCapLongPrefixEditedBy"/>
  5622.                                                                     </xsl:otherwise>
  5623.                                                                 </xsl:choose>
  5624.                                                             </TextItem>
  5625.                                                             <TextItem>
  5626.                                                                 <xsl:choose>
  5627.                                                                     <xsl:when test = "string-length(b:ChapterNumber)=0 and string-length($volume)=0 and string-length($bookTitleDot)=0 and string-length($theCapLongByAuthor)=0 and string-length($theCapLongPrefixEditedBy)=0">
  5628.                                                                         <xsl:value-of select="$theUnCapLongPrefixTranslatedBy"/>
  5629.                                                                     </xsl:when>
  5630.                                                                     <xsl:otherwise>
  5631.                                                                         <xsl:value-of select="$theUnCapLongPrefixTranslatedBy"/>
  5632.                                                                     </xsl:otherwise>
  5633.                                                                 </xsl:choose>
  5634.                                                             </TextItem>
  5635.                                                             <TextItem>
  5636.                                                                 <xsl:value-of select="b:Pages"/>
  5637.                                                             </TextItem>
  5638.                                                         </Items>
  5639.                                                     </xsl:with-param>
  5640.                                                 </xsl:call-template>
  5641.  
  5642.                                                 <xsl:if test="string-length($tempCPY)>0">
  5643.                                                     <xsl:if test="string-length($sectionAuthorDot)>0 or string-length($titleDot)>0 or string-length($bookAuthorDot)>0 or string-length($bookTitleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($volume)>0">
  5644.                                                         <xsl:call-template name="templ_prop_Space"/>
  5645.                                                     </xsl:if>
  5646.  
  5647.                                                     <xsl:value-of select="$tempCPY"/>
  5648.                                                 </xsl:if>
  5649.                                     </xsl:when>
  5650.                                     
  5651.  
  5652.                                     <xsl:when test="b:SourceType='JournalArticle'">
  5653.  
  5654.                                                 <xsl:if test="string-length($authorDot)>0">
  5655.                                                     <xsl:value-of select="$authorDot"/>
  5656.                                                 </xsl:if>
  5657.  
  5658.                                                 <xsl:if test="string-length($authorDot)=0 and string-length($sufixEditorLFDot)>0">
  5659.                                                     <xsl:value-of select="$sufixEditorLFDot"/>
  5660.                                                 </xsl:if>
  5661.  
  5662.                                                 <xsl:if test="string-length($titleDot)>0">
  5663.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($sufixEditorLFDot)>0">
  5664.                                                         <xsl:call-template name="templ_prop_Space"/>
  5665.                                                     </xsl:if>
  5666.  
  5667.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5668.                                                     
  5669.                                                     <xsl:value-of select="$titleDot"/>
  5670.                                                     
  5671.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5672.                                                 </xsl:if>
  5673.  
  5674.                                                 <xsl:if test="string-length($theCPCapLongPrefixEditorDot)>0 and string-length($authorDot)>0">
  5675.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($sufixEditorLFDot)>0">
  5676.                                                         <xsl:call-template name="templ_prop_Space"/>
  5677.                                                     </xsl:if>
  5678.  
  5679.                                                     <xsl:value-of select="$theCPCapLongPrefixEditorDot"/>
  5680.                                                 </xsl:if>
  5681.  
  5682.                                                 <xsl:if test="string-length($journalName)>0">
  5683.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($sufixEditorLFDot)>0">
  5684.                                                         <xsl:call-template name="templ_prop_Space"/>
  5685.                                                     </xsl:if>
  5686.  
  5687.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5688.                                                      <xsl:with-param name = "data">
  5689.                                                     <xsl:if test="string-length($tempVIYP)>0">
  5690.                                                         <xsl:value-of select="$journalName"/>
  5691.                                                     </xsl:if>
  5692.                                                     <xsl:if test="string-length($tempVIYP)=0">
  5693.                                                         <xsl:value-of select="$journalNameDot"/>
  5694.                                                     </xsl:if>
  5695.                                                    </xsl:with-param>
  5696.                                                   </xsl:call-template>
  5697.                                                 </xsl:if>
  5698.                                             
  5699.                                                 <xsl:if test="string-length($tempVIYP)>0">
  5700.                                                     <xsl:if test="string-length($journalName)=0 and (string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($journalName)>0 or string-length($sufixEditorLFDot)>0)">
  5701.                                                         <xsl:call-template name="templ_prop_Space"/>
  5702.                                                     </xsl:if>
  5703.  
  5704.                                                     <xsl:value-of select="$tempVIYP"/>
  5705.                                                 </xsl:if>
  5706.                                                 
  5707.                                     </xsl:when>
  5708.  
  5709.  
  5710.  
  5711.  
  5712.                                     <xsl:when test="b:SourceType='ConferenceProceedings'">
  5713.  
  5714.                                         <xsl:choose>
  5715.                                         
  5716.                                             <xsl:when test="string-length($editor)>0 and string-length($author)=0">
  5717.                                             
  5718.                                                 <xsl:if test="string-length($sufixEditorLFDot)>0">
  5719.                                                     <xsl:value-of select="$sufixEditorLFDot"/>
  5720.                                                 </xsl:if>
  5721.  
  5722.                                                 <xsl:if test="string-length($titleDot)>0">
  5723.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0">
  5724.                                                         <xsl:call-template name="templ_prop_Space"/>
  5725.                                                     </xsl:if>
  5726.                                                     
  5727.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5728.                                                     
  5729.                                                     <xsl:value-of select="$titleDot"/>
  5730.                                                     
  5731.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5732.                                                 </xsl:if>
  5733.  
  5734.                                                 <xsl:if test="string-length($conferenceNameDot)>0">
  5735.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0">
  5736.                                                         <xsl:call-template name="templ_prop_Space"/>
  5737.                                                     </xsl:if>
  5738.                                                     
  5739.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5740.                                                      <xsl:with-param name = "data">
  5741.                                                     <xsl:value-of select="$conferenceNameDot"/>
  5742.                                                      </xsl:with-param>
  5743.                                                     </xsl:call-template>
  5744.                                                 </xsl:if>
  5745.  
  5746.                                                 <xsl:if test="string-length($tempCPY)>0">
  5747.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0 or string-length($conferenceNameDot)>0">
  5748.                                                         <xsl:call-template name="templ_prop_Space"/>
  5749.                                                     </xsl:if>
  5750.                                                     
  5751.                                                     <xsl:value-of select="$tempCPY"/>
  5752.                                                 </xsl:if>
  5753.  
  5754.                                                 
  5755.                                                 <xsl:if test="string-length($pagesDot)>0">
  5756.                                                     <xsl:if test="string-length($sufixEditorLFDot)>0 or string-length($titleDot)>0 or string-length($conferenceNameDot)>0 or string-length($tempCPY)>0">
  5757.                                                         <xsl:call-template name="templ_prop_Space"/>
  5758.                                                     </xsl:if>
  5759.  
  5760.                                                     <xsl:value-of select="$pagesDot"/>
  5761.                                                 </xsl:if>
  5762.  
  5763.  
  5764.                                             </xsl:when>
  5765.  
  5766.  
  5767.                                         
  5768.                                             <xsl:otherwise>
  5769.  
  5770.                                                 <xsl:if test="string-length($authorDot)>0">
  5771.                                                     <xsl:value-of select="$authorDot"/>
  5772.                                                 </xsl:if>
  5773.  
  5774.                                                 <xsl:if test="string-length($titleDot)>0">
  5775.                                                     <xsl:if test="string-length($authorDot)>0">
  5776.                                                         <xsl:call-template name="templ_prop_Space"/>
  5777.                                                     </xsl:if>
  5778.  
  5779.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5780.                                                     
  5781.                                                     <xsl:value-of select="$titleDot"/>
  5782.                                                     
  5783.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5784.                                                 </xsl:if>
  5785.  
  5786.                                                 <xsl:if test="string-length($conferenceNameDot)>0">
  5787.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5788.                                                         <xsl:call-template name="templ_prop_Space"/>
  5789.                                                     </xsl:if>
  5790.  
  5791.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5792.                                                      <xsl:with-param name = "data">
  5793.                                                     <xsl:value-of select="$conferenceNameDot"/>
  5794.                                                      </xsl:with-param>
  5795.                                                     </xsl:call-template>
  5796.                                                 </xsl:if>
  5797.  
  5798.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  5799.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($conferenceNameDot)>0">
  5800.                                                         <xsl:call-template name="templ_prop_Space"/>
  5801.                                                     </xsl:if>
  5802.  
  5803.                                                     <xsl:value-of select="$prefixEditorDot"/>
  5804.                                                 </xsl:if>
  5805.  
  5806.                                                 <xsl:if test="string-length($tempCPY)>0">
  5807.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($conferenceNameDot)>0 or string-length($prefixEditorDot)>0">
  5808.                                                         <xsl:call-template name="templ_prop_Space"/>
  5809.                                                     </xsl:if>
  5810.  
  5811.                                                     <xsl:value-of select="$tempCPY"/>
  5812.                                                 </xsl:if>
  5813.                                                 
  5814.                                                 <xsl:if test="string-length($pagesDot)>0">
  5815.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0 or string-length($conferenceNameDot)>0 or string-length($prefixEditorDot)>0 or string-length($tempCPY)>0">
  5816.                                                         <xsl:call-template name="templ_prop_Space"/>
  5817.                                                     </xsl:if>
  5818.  
  5819.                                                     <xsl:value-of select="$pagesDot"/>
  5820.                                                 </xsl:if>
  5821.  
  5822.                                             </xsl:otherwise>
  5823.  
  5824.                                         </xsl:choose>
  5825.  
  5826.                                     </xsl:when>
  5827.  
  5828.  
  5829.  
  5830.                                     <xsl:when test="b:SourceType='Report'">
  5831.  
  5832.                                         <xsl:choose>
  5833.                                         
  5834.                                             <xsl:when test="string-length($publisher)>0">
  5835.  
  5836.  
  5837.                                                 <xsl:if test="string-length($authorDot)>0">
  5838.                                                     <xsl:value-of select="$authorDot"/>
  5839.                                                 </xsl:if>
  5840.  
  5841.                                                 <xsl:if test="string-length($titleDot)>0">
  5842.                                                     <xsl:if test="string-length($authorDot)>0">
  5843.                                                         <xsl:call-template name="templ_prop_Space"/>
  5844.                                                     </xsl:if>
  5845.  
  5846.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5847.                                                      <xsl:with-param name = "data">
  5848.                                                     <xsl:value-of select="$titleDot"/>
  5849.                                                      </xsl:with-param>
  5850.                                                     </xsl:call-template>
  5851.                                                 </xsl:if>
  5852.  
  5853.                                                 <xsl:if test="string-length($tempRICPY)>0">
  5854.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5855.                                                         <xsl:call-template name="templ_prop_Space"/>
  5856.                                                     </xsl:if>
  5857.  
  5858.                                                     <xsl:value-of select="$tempRICPY"/>
  5859.                                                 </xsl:if>
  5860.  
  5861.                                             </xsl:when>
  5862.  
  5863.  
  5864.                                         
  5865.                                             <xsl:otherwise>
  5866.                                                 <xsl:if test="string-length($authorDot)>0">
  5867.                                                     <xsl:value-of select="$authorDot"/>
  5868.                                                 </xsl:if>
  5869.  
  5870.                                                 <xsl:if test="string-length($titleDot)>0">
  5871.                                                     <xsl:if test="string-length($authorDot)>0">
  5872.                                                         <xsl:call-template name="templ_prop_Space"/>
  5873.                                                     </xsl:if>
  5874.  
  5875.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5876.                                                     
  5877.                                                     <xsl:value-of select="$titleDot"/>
  5878.                                                     
  5879.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5880.                                                 </xsl:if>
  5881.                                             
  5882.                                                 <xsl:if test="string-length($tempRICPY)>0">
  5883.                                                     <xsl:if test="string-length($authorDot)>0 or string-length($titleDot)>0">
  5884.                                                         <xsl:call-template name="templ_prop_Space"/>
  5885.                                                     </xsl:if>
  5886.  
  5887.                                                     <xsl:value-of select="$tempRICPY"/>
  5888.                                                 </xsl:if>
  5889.  
  5890.                                             </xsl:otherwise>
  5891.  
  5892.  
  5893.                                         </xsl:choose>
  5894.                                     </xsl:when>
  5895.                                     
  5896.                                     
  5897.  
  5898.                                     <xsl:when test="b:SourceType='SoundRecording'">
  5899.  
  5900.  
  5901.  
  5902.                                         <xsl:choose>
  5903.                                         
  5904.                                             <xsl:when test="string-length($performerLF)>0">
  5905.  
  5906.                                                 <xsl:value-of select="$performerLFDot"/>
  5907.  
  5908.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($albumTitleDot)>0">
  5909.                                                     <xsl:call-template name="templ_prop_Space"/>
  5910.  
  5911.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5912.                                                     <xsl:value-of select="$titleDot"/>
  5913.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5914.                                                 </xsl:if>
  5915.  
  5916.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($albumTitleDot)=0">
  5917.                                                     <xsl:call-template name="templ_prop_Space"/>
  5918.             
  5919.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5920.                                                      <xsl:with-param name = "data">
  5921.                                                     <xsl:value-of select="$titleDot"/>
  5922.                                                      </xsl:with-param>
  5923.                                                     </xsl:call-template>
  5924.                                                 </xsl:if>
  5925.  
  5926.                                                 <xsl:if test="string-length($albumTitleDot)>0">
  5927.                                                     <xsl:call-template name="templ_prop_Space"/>
  5928.  
  5929.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5930.                                                      <xsl:with-param name = "data">
  5931.                                                     <xsl:value-of select="$albumTitleDot"/>
  5932.                                                      </xsl:with-param>
  5933.                                                     </xsl:call-template>
  5934.                                                 </xsl:if>
  5935.  
  5936.                                                 <xsl:if test="string-length($prefixConductorDot)>0">
  5937.                                                     <xsl:call-template name="templ_prop_Space"/>
  5938.  
  5939.                                                     <xsl:value-of select="$prefixConductorDot"/>
  5940.                                                 </xsl:if>
  5941.  
  5942.                                                 <xsl:if test="string-length($prefixComposerDot)>0">
  5943.                                                     <xsl:call-template name="templ_prop_Space"/>
  5944.  
  5945.                                                     <xsl:value-of select="$prefixComposerDot"/>
  5946.                                                 </xsl:if>
  5947.  
  5948.                                                 <xsl:if test="string-length($tempRYM)>0">
  5949.                                                     <xsl:call-template name="templ_prop_Space"/>
  5950.  
  5951.                                                     <xsl:value-of select="$tempRYM"/>
  5952.                                                 </xsl:if>
  5953.  
  5954.                                             </xsl:when>
  5955.  
  5956.                                         
  5957.                                             <xsl:when test="string-length($conductorLFDot)>0">
  5958.  
  5959.                                                 <xsl:value-of select="$conductorLFDot"/>
  5960.  
  5961.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($albumTitleDot)>0">
  5962.                                                     <xsl:call-template name="templ_prop_Space"/>
  5963.  
  5964.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  5965.                                                     <xsl:value-of select="$titleDot"/>
  5966.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  5967.                                                 </xsl:if>
  5968.  
  5969.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($albumTitleDot)=0">
  5970.                                                     <xsl:call-template name="templ_prop_Space"/>
  5971.             
  5972.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5973.                                                      <xsl:with-param name = "data">
  5974.                                                     <xsl:value-of select="$titleDot"/>
  5975.                                                      </xsl:with-param>
  5976.                                                     </xsl:call-template>
  5977.                                                 </xsl:if>
  5978.  
  5979.                                                 <xsl:if test="string-length($albumTitleDot)>0">
  5980.                                                     <xsl:call-template name="templ_prop_Space"/>
  5981.  
  5982.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  5983.                                                      <xsl:with-param name = "data">
  5984.                                                     <xsl:value-of select="$albumTitleDot"/>
  5985.                                                      </xsl:with-param>
  5986.                                                     </xsl:call-template>
  5987.                                                 </xsl:if>
  5988.  
  5989.                                                 <xsl:if test="string-length($prefixComposerDot)>0">
  5990.                                                     <xsl:call-template name="templ_prop_Space"/>
  5991.  
  5992.                                                     <xsl:value-of select="$prefixComposerDot"/>
  5993.                                                 </xsl:if>
  5994.  
  5995.                                                 <xsl:if test="string-length($tempRYM)>0">
  5996.                                                     <xsl:call-template name="templ_prop_Space"/>
  5997.  
  5998.                                                     <xsl:value-of select="$tempRYM"/>
  5999.                                                 </xsl:if>
  6000.  
  6001.                                             </xsl:when>
  6002.  
  6003.                                         
  6004.                                             <xsl:otherwise>
  6005.  
  6006.                                                 <xsl:if test="string-length($composerLFDot)>0">
  6007.                                                     <xsl:value-of select="$composerLFDot"/>
  6008.                                                 </xsl:if>
  6009.  
  6010.                                             
  6011.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($albumTitleDot)>0">
  6012.                                                     <xsl:if test="string-length($composerLFDot)>0">
  6013.                                                         <xsl:call-template name="templ_prop_Space"/>
  6014.                                                     </xsl:if>
  6015.  
  6016.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  6017.                                                     <xsl:value-of select="$titleDot"/>
  6018.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  6019.                                                 </xsl:if>
  6020.  
  6021.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($albumTitleDot)=0">
  6022.                                                     <xsl:if test="string-length($composerLFDot)>0">
  6023.                                                         <xsl:call-template name="templ_prop_Space"/>
  6024.                                                     </xsl:if>
  6025.             
  6026.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6027.                                                      <xsl:with-param name = "data">
  6028.                                                     <xsl:value-of select="$titleDot"/>
  6029.                                                      </xsl:with-param>
  6030.                                                     </xsl:call-template>
  6031.                                                 </xsl:if>
  6032.  
  6033.                                                 <xsl:if test="string-length($albumTitleDot)>0">
  6034.                                                     <xsl:if test="string-length($composerLFDot)>0 or string-length($titleDot)>0">
  6035.                                                         <xsl:call-template name="templ_prop_Space"/>
  6036.                                                     </xsl:if>
  6037.  
  6038.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6039.                                                      <xsl:with-param name = "data">
  6040.                                                     <xsl:value-of select="$albumTitleDot"/>
  6041.                                                      </xsl:with-param>
  6042.                                                     </xsl:call-template>
  6043.                                                 </xsl:if>
  6044.  
  6045.  
  6046.                                                 <xsl:if test="string-length($tempRYM)>0">
  6047.                                                     <xsl:if test="string-length($composerLFDot)>0 or string-length($titleDot)>0 or string-length($albumTitleDot)>0">
  6048.                                                         <xsl:call-template name="templ_prop_Space"/>
  6049.                                                     </xsl:if>
  6050.  
  6051.                                                     <xsl:value-of select="$tempRYM"/>
  6052.                                                 </xsl:if>
  6053.  
  6054.                                             </xsl:otherwise>
  6055.  
  6056.  
  6057.  
  6058.                                         </xsl:choose>
  6059.                                     </xsl:when>
  6060.  
  6061.  
  6062.                                     <xsl:when test="b:SourceType='Performance'">
  6063.  
  6064.                                                 <xsl:if test="string-length($writerLFDot)>0">
  6065.                                                     <xsl:call-template name="templ_prop_Space"/>
  6066.                                                     <xsl:value-of select="$writerLFDot"/>
  6067.                                                 </xsl:if>
  6068.  
  6069.                                                 <xsl:if test="string-length($titleDot)>0">
  6070.                                                     <xsl:if test="string-length($writerLFDot)>0">
  6071.                                                         <xsl:call-template name="templ_prop_Space"/>
  6072.                                                     </xsl:if>
  6073.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6074.                                                      <xsl:with-param name = "data">
  6075.                                                     <xsl:value-of select="$titleDot"/>
  6076.                                                      </xsl:with-param>
  6077.                                                     </xsl:call-template>
  6078.                                                 </xsl:if>
  6079.  
  6080.                                                 <xsl:if test="string-length($theCapLongPrefixDirectedByDot)>0">
  6081.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0">
  6082.                                                         <xsl:call-template name="templ_prop_Space"/>
  6083.                                                     </xsl:if>
  6084.  
  6085.                                                     <xsl:value-of select="$theCapLongPrefixDirectedByDot"/>
  6086.                                                 </xsl:if>
  6087.  
  6088.                                                 <xsl:if test="string-length($theCapLongPrefixPerformedByDot)>0">
  6089.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($theCapLongPrefixDirectedByDot)>0">
  6090.                                                         <xsl:call-template name="templ_prop_Space"/>
  6091.                                                     </xsl:if>
  6092.  
  6093.                                                     <xsl:value-of select="$theCapLongPrefixPerformedByDot"/>
  6094.                                                 </xsl:if>
  6095.  
  6096.                                                 <xsl:if test="string-length($tempTC)>0">
  6097.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($theCapLongPrefixDirectedByDot)>0 or string-length($theCapLongPrefixPerformedByDot)>0">
  6098.                                                         <xsl:call-template name="templ_prop_Space"/>
  6099.                                                     </xsl:if>
  6100.  
  6101.                                                     <xsl:value-of select="$tempTC"/>
  6102.                                                 </xsl:if>
  6103.  
  6104.  
  6105.                                                 <xsl:if test="string-length($dateDot)>0">
  6106.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($theCapLongPrefixDirectedByDot)>0 or string-length($theCapLongPrefixPerformedByDot)>0 or string-length($tempTC)>0">
  6107.                                                         <xsl:call-template name="templ_prop_Space"/>
  6108.                                                     </xsl:if>
  6109.  
  6110.                                                     <xsl:value-of select="$dateDot"/>
  6111.                                                 </xsl:if>
  6112.  
  6113.  
  6114.                                 </xsl:when>
  6115.  
  6116.  
  6117.                                     <xsl:when test="b:SourceType='Art'">
  6118.  
  6119.  
  6120.                                         <xsl:choose>
  6121.                                             
  6122.                                             <xsl:when test="string-length($publicationTitle)>0">
  6123.  
  6124.                                                 <xsl:if test="string-length($artistDot)>0">
  6125.                                                     <xsl:value-of select="normalize-space($artistDot)"/>
  6126.                                                 </xsl:if>
  6127.  
  6128.                                                 <xsl:if test="string-length($titleDot)>0">
  6129.                                                     <xsl:if test="string-length($artistDot)>0">
  6130.                                                         <xsl:call-template name="templ_prop_Space"/>
  6131.                                                     </xsl:if>
  6132.  
  6133.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  6134.                                                     <xsl:value-of select="$titleDot"/>
  6135.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  6136.                                                 </xsl:if>
  6137.  
  6138.                                                 <xsl:if test="string-length($institutionDot)>0">
  6139.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0">
  6140.                                                         <xsl:call-template name="templ_prop_Space"/>
  6141.                                                     </xsl:if>
  6142.  
  6143.                                                     <xsl:value-of select="$institutionDot"/>
  6144.                                                 </xsl:if>
  6145.  
  6146.                                                 <xsl:if test="string-length($publicationTitleDot)>0">
  6147.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0 or string-length($institutionDot)>0">
  6148.                                                         <xsl:call-template name="templ_prop_Space"/>
  6149.                                                     </xsl:if>
  6150.  
  6151.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6152.                                                      <xsl:with-param name = "data">
  6153.                                                     <xsl:value-of select="$publicationTitleDot"/>
  6154.                                                      </xsl:with-param>
  6155.                                                     </xsl:call-template>
  6156.                                                 </xsl:if>
  6157.  
  6158.                                                 <xsl:if test="string-length($tempCPY)>0">
  6159.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0 or string-length($institutionDot)>0 or string-length($publicationTitle)>0">
  6160.                                                         <xsl:call-template name="templ_prop_Space"/>
  6161.                                                     </xsl:if>
  6162.  
  6163.                                                     <xsl:value-of select="$tempCPY"/>
  6164.                                                 </xsl:if>
  6165.  
  6166.                                             </xsl:when>
  6167.                                             
  6168.                                             
  6169.                                             <xsl:otherwise>
  6170.                                             
  6171.                                                 <xsl:if test="string-length($artistDot)>0">
  6172.                                                     <xsl:value-of select="normalize-space($artistDot)"/>
  6173.                                                 </xsl:if>
  6174.  
  6175.                                                 
  6176.                                                 <xsl:if test="string-length($titleDot)>0">
  6177.                                                     <xsl:if test="string-length($artistDot)>0">
  6178.                                                         <xsl:call-template name="templ_prop_Space"/>
  6179.                                                     </xsl:if>
  6180.  
  6181.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6182.                                                      <xsl:with-param name = "data">
  6183.                                                     <xsl:value-of select="$titleDot"/>
  6184.                                                      </xsl:with-param>
  6185.                                                     </xsl:call-template>
  6186.                                                 </xsl:if>
  6187.  
  6188.                                                 <xsl:if test="string-length($tempIC)>0">
  6189.                                                     <xsl:if test="string-length($artistDot)>0 or string-length($titleDot)>0">
  6190.                                                         <xsl:call-template name="templ_prop_Space"/>
  6191.                                                     </xsl:if>
  6192.  
  6193.                                                     <xsl:value-of select="$tempIC"/>
  6194.                                                 </xsl:if>
  6195.  
  6196.                                             </xsl:otherwise>
  6197.                                             
  6198.                                         </xsl:choose>
  6199.  
  6200.  
  6201.  
  6202.                                     </xsl:when>
  6203.  
  6204.                                     <xsl:when test="b:SourceType='DocumentFromInternetSite'">
  6205.  
  6206.  
  6207.     
  6208.                                                 <xsl:if test="string-length($theAuthorSufixDot)>0">
  6209.                                                     <xsl:value-of select="$theAuthorSufixDot"/>
  6210.                                                 </xsl:if>
  6211.  
  6212.                                             
  6213.                                                 <xsl:if test="string-length($titleDot)>0">
  6214.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0">
  6215.                                                         <xsl:call-template name="templ_prop_Space"/>
  6216.                                                     </xsl:if>
  6217.  
  6218.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  6219.                                                     <xsl:value-of select="$titleDot"/>
  6220.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  6221.                                                 </xsl:if>
  6222.  
  6223.                                                 <xsl:if test="string-length($prefixVersionDot)>0">
  6224.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0">
  6225.                                                         <xsl:call-template name="templ_prop_Space"/>
  6226.                                                     </xsl:if>
  6227.                                                     <xsl:value-of select="$prefixVersionDot"/>
  6228.                                                 </xsl:if>
  6229.  
  6230.                                                 <xsl:if test="string-length($internetSiteTitleDot)>0">
  6231.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0">
  6232.                                                         <xsl:call-template name="templ_prop_Space"/>
  6233.                                                     </xsl:if>
  6234.  
  6235.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6236.                                                      <xsl:with-param name = "data">
  6237.                                                     <xsl:value-of select="$internetSiteTitleDot"/>
  6238.                                                      </xsl:with-param>
  6239.                                                     </xsl:call-template>
  6240.                                                 </xsl:if>
  6241.  
  6242.  
  6243.                                                 <xsl:if test="string-length($theCPCapLongPrefixEditorDot)>0">
  6244.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0 or string-length($internetSiteTitleDot)>0">
  6245.                                                         <xsl:call-template name="templ_prop_Space"/>
  6246.                                                     </xsl:if>
  6247.  
  6248.                                                     <xsl:value-of select="$theCPCapLongPrefixEditorDot"/>
  6249.                                                 </xsl:if>
  6250.  
  6251.                                                 <xsl:if test="string-length($prodDot)>0">
  6252.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0 or string-length($internetSiteTitleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0">
  6253.                                                         <xsl:call-template name="templ_prop_Space"/>
  6254.                                                     </xsl:if>
  6255.  
  6256.                                                     <xsl:value-of select="$prodDot"/>
  6257.                                                 </xsl:if>
  6258.  
  6259.                                                 <xsl:if test="string-length($dateDot)>0">
  6260.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0 or string-length($internetSiteTitleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($prodDot)>0">
  6261.                                                         <xsl:call-template name="templ_prop_Space"/>
  6262.                                                     </xsl:if>
  6263.  
  6264.                                                     <xsl:value-of select="$dateDot"/>
  6265.                                                 </xsl:if>
  6266.  
  6267.                                                 <xsl:if test="string-length($tempDaU)>0">
  6268.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($versionDot)>0 or string-length($internetSiteTitleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($prodDot)>0 or string-length($dateDot)>0">
  6269.                                                         <xsl:call-template name="templ_prop_Space"/>
  6270.                                                     </xsl:if>
  6271.  
  6272.                                                     <xsl:value-of select="$tempDaU"/>
  6273.                                                 </xsl:if>
  6274.  
  6275.                                     </xsl:when>
  6276.  
  6277.  
  6278.                             
  6279.  
  6280.                                     <xsl:when test="b:SourceType='InternetSite'">
  6281.  
  6282.                                                 <xsl:if test="string-length($theAuthorSufixDot)>0">
  6283.                                                     <xsl:value-of select="$theAuthorSufixDot"/>
  6284.                                                 </xsl:if>
  6285.  
  6286.                                             
  6287.                                                 <xsl:if test="string-length($titleDot)>0">
  6288.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0">
  6289.                                                         <xsl:call-template name="templ_prop_Space"/>
  6290.                                                     </xsl:if>
  6291.  
  6292.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6293.                                                      <xsl:with-param name = "data">
  6294.                                                     <xsl:value-of select="$titleDot"/>
  6295.                                                      </xsl:with-param>
  6296.                                                     </xsl:call-template>
  6297.                                                 </xsl:if>
  6298.  
  6299.                                                 <xsl:if test="string-length($theCPCapLongPrefixEditorDot)>0">
  6300.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0">
  6301.                                                         <xsl:call-template name="templ_prop_Space"/>
  6302.                                                     </xsl:if>
  6303.  
  6304.                                                     <xsl:value-of select="$theCPCapLongPrefixEditorDot"/>
  6305.                                                 </xsl:if>
  6306.  
  6307.                                                 <xsl:if test="string-length($prefixVersionDot)>0">
  6308.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0">
  6309.                                                         <xsl:call-template name="templ_prop_Space"/>
  6310.                                                     </xsl:if>
  6311.  
  6312.                                                     <xsl:value-of select="$prefixVersionDot"/>
  6313.                                                 </xsl:if>
  6314.  
  6315.  
  6316.                                                 <xsl:if test="string-length($prodDot)>0">
  6317.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($versionDot)>0">
  6318.                                                         <xsl:call-template name="templ_prop_Space"/>
  6319.                                                     </xsl:if>
  6320.  
  6321.                                                     <xsl:value-of select="$prodDot"/>
  6322.                                                 </xsl:if>
  6323.  
  6324.                                                 <xsl:if test="string-length($dateDot)>0">
  6325.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($versionDot)>0 or string-length($prodDot)>0">
  6326.                                                         <xsl:call-template name="templ_prop_Space"/>
  6327.                                                     </xsl:if>
  6328.  
  6329.                                                     <xsl:value-of select="$dateDot"/>
  6330.                                                 </xsl:if>
  6331.  
  6332.                                                 <xsl:if test="string-length($tempDaU)>0">
  6333.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($versionDot)>0 or string-length($dateDot)>0 or string-length($prodDot)>0">
  6334.                                                         <xsl:call-template name="templ_prop_Space"/>
  6335.                                                     </xsl:if>
  6336.  
  6337.                                                     <xsl:value-of select="$tempDaU"/>
  6338.                                                 </xsl:if>
  6339.  
  6340.                                     </xsl:when>
  6341.  
  6342.  
  6343.  
  6344.  
  6345.                                     <xsl:when test="b:SourceType='Patent'">
  6346.  
  6347.  
  6348.  
  6349.                                                 <xsl:if test="string-length($inventorLFDot)>0">
  6350.                                                     <xsl:value-of select="$inventorLFDot"/>
  6351.                                                 </xsl:if>
  6352.  
  6353.                                             
  6354.                                                 <xsl:if test="string-length($titleDot)>0">
  6355.                                                     <xsl:if test="string-length($inventorLFDot)>0">
  6356.                                                         <xsl:call-template name="templ_prop_Space"/>
  6357.                                                     </xsl:if>
  6358.                                                     
  6359.                                                     <xsl:value-of select="$titleDot"/>
  6360.                                                 </xsl:if>
  6361.  
  6362.                                                 <xsl:if test="string-length($prefixEditorDot)>0">
  6363.                                                     <xsl:if test="string-length($inventorLFDot)>0 or string-length($titleDot)>0">
  6364.                                                         <xsl:call-template name="templ_prop_Space"/>
  6365.                                                     </xsl:if>
  6366.  
  6367.                                                     <xsl:value-of select="$prefixEditorDot"/>
  6368.                                                 </xsl:if>
  6369.  
  6370.                                                 <xsl:if test="string-length($prefixTranslatorDot)>0">
  6371.                                                     <xsl:if test="string-length($inventorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0">
  6372.                                                         <xsl:call-template name="templ_prop_Space"/>
  6373.                                                     </xsl:if>
  6374.  
  6375.                                                     <xsl:value-of select="$prefixTranslatorDot"/>
  6376.                                                 </xsl:if>
  6377.  
  6378.                                                 <xsl:if test="string-length($tempCP)>0">
  6379.                                                     <xsl:if test="string-length($inventorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0">
  6380.                                                         <xsl:call-template name="templ_prop_Space"/>
  6381.                                                     </xsl:if>
  6382.  
  6383.                                                     <xsl:value-of select="$tempCP"/>
  6384.                                                 </xsl:if>
  6385.  
  6386.                                                 <xsl:if test="string-length($dateDot)>0">
  6387.                                                     <xsl:if test="string-length($inventorLFDot)>0 or string-length($titleDot)>0 or string-length($prefixEditorDot)>0 or string-length($prefixTranslatorDot)>0 or string-length($tempCP)>0">
  6388.                                                         <xsl:call-template name="templ_prop_Space"/>
  6389.                                                     </xsl:if>
  6390.  
  6391.                                                     <xsl:value-of select="$dateDot"/>
  6392.                                                 </xsl:if>
  6393.  
  6394.                                     </xsl:when>
  6395.  
  6396.  
  6397.  
  6398.                                     <xsl:when test="b:SourceType='Case'">
  6399.  
  6400.  
  6401.                                                 <xsl:if test="string-length($titleDot)>0">
  6402.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6403.                                                      <xsl:with-param name = "data">
  6404.                                                         <xsl:value-of select="$titleDot"/>
  6405.                                                      </xsl:with-param>
  6406.                                                     </xsl:call-template>
  6407.                                                 </xsl:if>
  6408.  
  6409.                                                 <xsl:if test="string-length($caseNoDot)>0">
  6410.                                                     <xsl:if test="string-length($titleDot)>0">
  6411.                                                         <xsl:call-template name="templ_prop_Space"/>
  6412.                                                     </xsl:if>
  6413.     
  6414.                                                     <xsl:value-of select="$caseNoDot"/>
  6415.                                                 </xsl:if>
  6416.  
  6417.                                                 <xsl:if test="string-length($tempCCD)>0">
  6418.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($caseNoDot)>0">
  6419.                                                         <xsl:call-template name="templ_prop_Space"/>
  6420.                                                     </xsl:if>
  6421.     
  6422.                                                     <xsl:value-of select="$tempCCD"/>
  6423.                                                 </xsl:if>
  6424.  
  6425.                                     </xsl:when>
  6426.  
  6427.  
  6428.  
  6429.                                     <xsl:when test="b:SourceType='Misc'">
  6430.  
  6431.                                                 <xsl:if test="string-length($theAuthorSufixDot)>0">
  6432.                                                     <xsl:value-of select="$theAuthorSufixDot"/>
  6433.                                                 </xsl:if>
  6434.  
  6435.                                                 <xsl:if test="string-length($titleDot)>0">
  6436.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0">
  6437.                                                         <xsl:call-template name="templ_prop_Space"/>
  6438.                                                     </xsl:if>
  6439.  
  6440.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  6441.                                                     <xsl:value-of select="$titleDot"/>
  6442.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  6443.                                                 </xsl:if>
  6444.  
  6445.                                                 <xsl:if test="string-length($publicationTitleDot)>0">
  6446.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0">
  6447.                                                         <xsl:call-template name="templ_prop_Space"/>
  6448.                                                     </xsl:if>
  6449.  
  6450.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6451.                                                      <xsl:with-param name = "data">
  6452.                                                     <xsl:value-of select="$publicationTitleDot"/>
  6453.                                                      </xsl:with-param>
  6454.                                                     </xsl:call-template>
  6455.                                                 </xsl:if>
  6456.  
  6457.                                                 <xsl:if test="string-length($prefixVolumeDot)>0">
  6458.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0">
  6459.                                                         <xsl:call-template name="templ_prop_Space"/>
  6460.                                                     </xsl:if>
  6461.  
  6462.                                                     <xsl:value-of select="$prefixVolumeDot"/>
  6463.                                                 </xsl:if>
  6464.  
  6465.  
  6466.                                                 <xsl:if test="string-length($noIssueDot)>0">
  6467.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0">
  6468.                                                         <xsl:call-template name="templ_prop_Space"/>
  6469.                                                     </xsl:if>
  6470.  
  6471.                                                     <xsl:value-of select="$noIssueDot"/>
  6472.                                                 </xsl:if>
  6473.  
  6474.                                                 <xsl:if test="string-length($theCPCapLongPrefixEditorDot)>0">
  6475.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0">
  6476.                                                         <xsl:call-template name="templ_prop_Space"/>
  6477.                                                     </xsl:if>
  6478.  
  6479.                                                     <xsl:value-of select="$theCPCapLongPrefixEditorDot"/>
  6480.                                                 </xsl:if>
  6481.  
  6482.                                                 <xsl:if test="string-length($theCapLongPrefixTranslatorDot)>0">
  6483.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0">
  6484.                                                         <xsl:call-template name="templ_prop_Space"/>
  6485.                                                     </xsl:if>
  6486.  
  6487.                                                     <xsl:value-of select="$theCapLongPrefixTranslatorDot"/>
  6488.                                                 </xsl:if>
  6489.  
  6490.                                                 <xsl:if test="string-length($theCapLongPrefixCompilerDot)>0">
  6491.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($theCapLongPrefixTranslatorDot)>0">
  6492.                                                         <xsl:call-template name="templ_prop_Space"/>
  6493.                                                     </xsl:if>
  6494.  
  6495.                                                     <xsl:value-of select="$theCapLongPrefixCompilerDot"/>
  6496.                                                 </xsl:if>
  6497.  
  6498.  
  6499.                                                 <xsl:if test="string-length($tempCPD)>0">
  6500.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($theCapLongPrefixTranslatorDot)>0 or string-length($theCapLongPrefixCompilerDot)>0">
  6501.                                                         <xsl:call-template name="templ_prop_Space"/>
  6502.                                                     </xsl:if>
  6503.  
  6504.                                                     <xsl:value-of select="$tempCPD"/>
  6505.                                                 </xsl:if>
  6506.  
  6507.                                                 <xsl:if test="string-length($pagesDot)>0">
  6508.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($prefixVolumeDot)>0 or string-length($issueDot)>0 or string-length($theCPCapLongPrefixEditorDot)>0 or string-length($theCapLongPrefixTranslatorDot)>0 or string-length($theCapLongPrefixCompilerDot)>0 or string-length($tempCPD)>0">
  6509.                                                         <xsl:call-template name="templ_prop_Space"/>
  6510.                                                     </xsl:if>
  6511.  
  6512.                                                     <xsl:value-of select="$pagesDot"/>
  6513.                                                 </xsl:if>
  6514.  
  6515.  
  6516.                                     </xsl:when>
  6517.  
  6518.  
  6519.  
  6520.  
  6521.                                     <xsl:when test="b:SourceType='ElectronicSource'">
  6522.  
  6523.                                                 <xsl:variable name="lfAuthor">
  6524.                                                     <xsl:if test="string-length($authorDot)>0">
  6525.                                                         <xsl:value-of select="$authorDot"/>
  6526.                                                     </xsl:if>
  6527.  
  6528.  
  6529.                                                     <xsl:if test="string-length($authorDot)=0 and string-length($sufixEditorLFDot)>0">
  6530.                                                         <xsl:value-of select="$sufixEditorLFDot"/>
  6531.                                                     </xsl:if>
  6532.  
  6533.                                                     <xsl:if test="string-length($authorDot)=0 and string-length($sufixEditorLFDot)=0 and string-length($sufixTranslatorLFDot)>0">
  6534.                                                         <xsl:value-of select="$sufixTranslatorLFDot"/>
  6535.                                                     </xsl:if>
  6536.  
  6537.                                                     <xsl:if test="string-length($authorDot)=0 and string-length($sufixEditorLFDot)=0 and string-length($sufixTranslatorLFDot)=0 and string-length($sufixCompilerLFDot)>0">
  6538.                                                         <xsl:value-of select="$sufixCompilerLFDot"/>
  6539.                                                     </xsl:if>
  6540.                                                 </xsl:variable>
  6541.  
  6542.                                                 <xsl:value-of select="$lfAuthor"/>
  6543.                                                 
  6544.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($publicationTitleDot)>0">
  6545.                                                     <xsl:if test="string-length($lfAuthor)>0">
  6546.                                                         <xsl:call-template name="templ_prop_Space"/>
  6547.                                                     </xsl:if>
  6548.  
  6549.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  6550.                                                     <xsl:value-of select="$titleDot"/>
  6551.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  6552.                                                 </xsl:if>
  6553.  
  6554.                                                 <xsl:if test="string-length($titleDot)>0 and string-length($publicationTitleDot)=0">
  6555.                                                     <xsl:if test="string-length($lfAuthor)>0">
  6556.                                                         <xsl:call-template name="templ_prop_Space"/>
  6557.                                                     </xsl:if>
  6558.             
  6559.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6560.                                                      <xsl:with-param name = "data">
  6561.                                                     <xsl:value-of select="$titleDot"/>
  6562.                                                      </xsl:with-param>
  6563.                                                     </xsl:call-template>
  6564.                                                 </xsl:if>
  6565.  
  6566.                                                 <xsl:if test="string-length($publicationTitleDot)>0">
  6567.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0">
  6568.                                                         <xsl:call-template name="templ_prop_Space"/>
  6569.                                                     </xsl:if>
  6570.  
  6571.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6572.                                                      <xsl:with-param name = "data">
  6573.                                                     <xsl:value-of select="$publicationTitleDot"/>
  6574.                                                      </xsl:with-param>
  6575.                                                     </xsl:call-template>
  6576.                                                 </xsl:if>
  6577.  
  6578.                                                 <xsl:if test="string-length($editionDot)>0">
  6579.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0">
  6580.                                                         <xsl:call-template name="templ_prop_Space"/>
  6581.                                                     </xsl:if>
  6582.  
  6583.                                                     <xsl:value-of select="$editionDot"/>
  6584.                                                 </xsl:if>
  6585.  
  6586.                                                 <xsl:if test="string-length($prefixVolumeDot)>0">
  6587.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0">
  6588.                                                         <xsl:call-template name="templ_prop_Space"/>
  6589.                                                     </xsl:if>
  6590.  
  6591.                                                     <xsl:value-of select="$prefixVolumeDot"/>
  6592.                                                 </xsl:if>
  6593.  
  6594.                                                 <xsl:if test="string-length($mediumDot)>0">
  6595.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0">
  6596.                                                         <xsl:call-template name="templ_prop_Space"/>
  6597.                                                     </xsl:if>
  6598.  
  6599.                                                     <xsl:value-of select="$mediumDot"/>
  6600.                                                 </xsl:if>
  6601.  
  6602.  
  6603.                                                 <xsl:if test="string-length($authorDot)>0 and string-length($theCPCapLongPrefixEditorDot)>0">
  6604.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($mediumDot)>0">
  6605.                                                         <xsl:call-template name="templ_prop_Space"/>
  6606.                                                     </xsl:if>
  6607.  
  6608.                                                     <xsl:value-of select="$theCPCapLongPrefixEditorDot"/>
  6609.                                                 </xsl:if>
  6610.  
  6611.                                                 <xsl:if test="string-length($theCapLongPrefixTranslatorDot)>0 and (string-length($authorDot)>0 or (string-length($authorDot)=0 and  string-length($sufixEditorLFDot)>0 ))">
  6612.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($mediumDot)>0">
  6613.                                                         <xsl:call-template name="templ_prop_Space"/>
  6614.                                                     </xsl:if>
  6615.  
  6616.                                                     <xsl:value-of select="$theCapLongPrefixTranslatorDot"/>
  6617.                                                 </xsl:if>
  6618.                                                 
  6619.                                                 <xsl:if test="string-length($prefixCompilerDot)>0 and (string-length($authorDot)>0 or (string-length($authorDot)=0 and  (string-length($sufixEditorLFDot)>0 or string-length($sufixTranslatorLFDot)>0)))">
  6620.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($mediumDot)>0">
  6621.                                                         <xsl:call-template name="templ_prop_Space"/>
  6622.                                                     </xsl:if>
  6623.  
  6624.                                                     <xsl:value-of select="$prefixCompilerDot"/>
  6625.                                                 </xsl:if>
  6626.                                                 
  6627.                                                 <xsl:if test="string-length($prefixProdDot)>0">
  6628.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($mediumDot)>0">
  6629.                                                         <xsl:call-template name="templ_prop_Space"/>
  6630.                                                     </xsl:if>
  6631.  
  6632.                                                     <xsl:value-of select="$prefixProdDot"/>
  6633.                                                 </xsl:if>
  6634.  
  6635.                                                 <xsl:if test="string-length($tempCPD)>0">
  6636.                                                     <xsl:if test="string-length($lfAuthor)>0 or string-length($titleDot)>0 or string-length($publicationTitleDot)>0 or string-length($editionDot)>0 or string-length($prefixVolumeDot)>0 or string-length($mediumDot)>0 or string-length($prefixProdDot)>0">
  6637.                                                         <xsl:call-template name="templ_prop_Space"/>
  6638.                                                     </xsl:if>
  6639.  
  6640.                                                     <xsl:value-of select="$tempCPD"/>
  6641.                                                 </xsl:if>
  6642.  
  6643.  
  6644.  
  6645.                                     </xsl:when>
  6646.  
  6647.  
  6648.                                     <xsl:when test="b:SourceType='ArticleInAPeriodical'">
  6649.  
  6650.  
  6651.                                                 <xsl:if test="string-length($theAuthorSufixDot)>0">
  6652.                                                     <xsl:value-of select="$theAuthorSufixDot"/>
  6653.                                                 </xsl:if>
  6654.  
  6655.                                                 <xsl:if test="string-length($periodicalTitle)>0 and string-length($theAuthorSufixDot) = 0">
  6656.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6657.                                                      <xsl:with-param name = "data">
  6658.                                                         <xsl:value-of select="$periodicalTitleDot"/>
  6659.                                                      </xsl:with-param>
  6660.                                                     </xsl:call-template>
  6661.                                                 </xsl:if>
  6662.                                                 
  6663.                                                 <xsl:if test="string-length($titleDot)>0">
  6664.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($periodicalTitle)>0">
  6665.                                                         <xsl:call-template name="templ_prop_Space"/>
  6666.                                                     </xsl:if>
  6667.  
  6668.                                                     <xsl:call-template name="templ_prop_OpenQuote"/>
  6669.                                                     
  6670.                                                     <xsl:value-of select="$titleDot"/>
  6671.                                                     
  6672.                                                     <xsl:call-template name="templ_prop_CloseQuote"/>
  6673.                                                 </xsl:if>
  6674.  
  6675.                                                 <xsl:if test="string-length($periodicalTitle)>0 and string-length($theAuthorSufixDot)>0">
  6676.                                                     <xsl:if test="string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0">
  6677.                                                         <xsl:call-template name="templ_prop_Space"/>
  6678.                                                     </xsl:if>
  6679.  
  6680.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6681.                                                      <xsl:with-param name = "data">
  6682.                                                     <xsl:if test="string-length($tempDEP)>0">
  6683.                                                         <xsl:value-of select="$periodicalTitle"/>
  6684.                                                     </xsl:if>
  6685.                                                     <xsl:if test="string-length($tempDEP)=0">
  6686.                                                         <xsl:value-of select="$periodicalTitleDot"/>
  6687.                                                     </xsl:if>
  6688.                                                      </xsl:with-param>
  6689.                                                     </xsl:call-template>
  6690.                                                 </xsl:if>
  6691.  
  6692.                                                 <xsl:if test="string-length($tempDEP)>0">
  6693.                                                     <xsl:choose>
  6694.                                                         <xsl:when test="string-length($theAuthorSufixDot)>0 and string-length($periodicalTitle)>0">
  6695.                                                             <xsl:call-template name="templ_prop_ListSeparator"/>
  6696.                                                         </xsl:when>
  6697.                                                         <xsl:when test="((string-length($theAuthorSufixDot)>0 or string-length($titleDot)>0) and string-length($periodicalTitle)=0) or (string-length($theAuthorSufixDot)=0 and string-length($titleDot)>0)">
  6698.                                                             <xsl:call-template name="templ_prop_Space"/>
  6699.                                                         </xsl:when>
  6700.                                                     </xsl:choose>
  6701.     
  6702.                                                     <xsl:value-of select="$tempDEP"/>
  6703.                                                 </xsl:if>
  6704.  
  6705.                                     </xsl:when>
  6706.  
  6707.  
  6708.                                     <xsl:when test="b:SourceType='Film'">
  6709.                                     
  6710.                                                 <xsl:if test="string-length($writerDot)>0">
  6711.                                                     <xsl:value-of select="$writerLFDot"/>
  6712.                                                 </xsl:if>
  6713.  
  6714.                                                 <xsl:if test="string-length($titleDot)>0">
  6715.                                                     <xsl:if test="string-length($writerDot)>0">
  6716.                                                         <xsl:call-template name="templ_prop_Space"/>
  6717.                                                     </xsl:if>
  6718.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6719.                                                      <xsl:with-param name = "data">
  6720.                                                     <xsl:value-of select="$titleDot"/>
  6721.                                                      </xsl:with-param>
  6722.                                                     </xsl:call-template>
  6723.                                                 </xsl:if>
  6724.                                     
  6725.                                                 <xsl:if test="string-length($mediumDot)>0">
  6726.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0">
  6727.                                                         <xsl:call-template name="templ_prop_Space"/>
  6728.                                                     </xsl:if>
  6729.                                                     
  6730.                                                     <xsl:value-of select="$mediumDot"/>
  6731.                                                 </xsl:if>
  6732.  
  6733.                                                 <xsl:if test="string-length($theCapLongPrefixDirectedByDot)>0">
  6734.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($mediumDot)>0">
  6735.                                                         <xsl:call-template name="templ_prop_Space"/>
  6736.                                                     </xsl:if>
  6737.  
  6738.                                                     <xsl:value-of select="$theCapLongPrefixDirectedByDot"/>
  6739.                                                 </xsl:if>
  6740.  
  6741.                                                 <xsl:if test="string-length($theCapLongPrefixProducedByDot)>0">
  6742.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($theCapLongPrefixDirectedByDot)>0 or string-length($mediumDot)>0">
  6743.                                                         <xsl:call-template name="templ_prop_Space"/>
  6744.                                                     </xsl:if>
  6745.  
  6746.                                                     <xsl:value-of select="$theCapLongPrefixProducedByDot"/>
  6747.                                                 </xsl:if>
  6748.  
  6749.                                                 <xsl:if test="string-length($theCapLongPrefixPerformedByDot)>0">
  6750.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($theCapLongPrefixDirectedByDot)>0 or string-length($theCapLongPrefixProducedByDot)>0 or string-length($mediumDot)>0">
  6751.                                                         <xsl:call-template name="templ_prop_Space"/>
  6752.                                                     </xsl:if>
  6753.  
  6754.                                                     <xsl:value-of select="$theCapLongPrefixPerformedByDot"/>
  6755.                                                 </xsl:if>
  6756.  
  6757.                                                 <xsl:if test="string-length($tempDY)>0">
  6758.                                                     <xsl:if test="string-length($titleDot)>0 or string-length($writerDot)>0 or string-length($theCapLongPrefixDirectedByDot)>0 or string-length($theCapLongPrefixProducedByDot)>0 or string-length($theCapLongPrefixPerformedByDot)>0 or string-length($mediumDot)>0">
  6759.                                                         <xsl:call-template name="templ_prop_Space"/>
  6760.                                                     </xsl:if>
  6761.  
  6762.                                                     <xsl:value-of select="$tempDY"/>
  6763.                                                 </xsl:if>
  6764.                                     
  6765.                                     </xsl:when>
  6766.  
  6767.  
  6768.                                     <xsl:when test="b:SourceType='Interview'">
  6769.  
  6770.                                         <xsl:choose>
  6771.                                         
  6772.                                             <xsl:when test="string-length($broadcaster)>0">
  6773.  
  6774.                                                 <xsl:if test="string-length($intervieweeLFDot)>0">
  6775.                                                     <xsl:if test="string-length($interviewerDot)=0">
  6776.                                                         <xsl:value-of select="$intervieweeLFDot"/>
  6777.                                                     </xsl:if>
  6778.                                                     <xsl:if test="string-length($interviewerDot)>0">
  6779.                                                         <xsl:value-of select="$intervieweeLF"/>
  6780.                                                     </xsl:if>
  6781.                                                 </xsl:if>
  6782.  
  6783.                                                 <xsl:if test="string-length($interviewerDot)>0">
  6784.                                                     <xsl:if test="string-length($intervieweeLFDot)>0">
  6785.                                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  6786.                                                     </xsl:if>
  6787.  
  6788.                                                     <xsl:call-template name="StringFormatDot">
  6789.                                                           <xsl:with-param name="format">
  6790.                                                             <xsl:if test="string-length($intervieweeLFDot)>0">
  6791.                                                                 <xsl:call-template name="templ_str_InterviewByUnCap"/>
  6792.                                                             </xsl:if>
  6793.                                                             <xsl:if test="string-length($intervieweeLFDot)=0">
  6794.                                                                 <xsl:call-template name="templ_str_InterviewByCap"/>
  6795.                                                             </xsl:if>
  6796.                                                           </xsl:with-param>
  6797.                                                           <xsl:with-param name="parameters">
  6798.                                                               <t:params>
  6799.                                                                   <t:param>
  6800.                                                                     <xsl:value-of select="$interviewer"/>
  6801.                                                                 </t:param>
  6802.                                                               </t:params>
  6803.                                                           </xsl:with-param>
  6804.                                                     </xsl:call-template>
  6805.                                                 </xsl:if>
  6806.                                                 
  6807.                                                 <xsl:if test="string-length($interviewTitle)>0">
  6808.                                                     <xsl:if test="string-length($interviewerDot)>0 or string-length($intervieweeLFDot)>0">
  6809.                                                         <xsl:call-template name="templ_prop_Space"/>
  6810.                                                     </xsl:if>
  6811.  
  6812.                                                     <xsl:if test="string-length($broadcastTitleDot)>0">
  6813.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6814.                                                             <xsl:call-template name="templ_prop_Space"/>
  6815.                                                         </xsl:if>
  6816.  
  6817.                                                         <xsl:call-template name="templ_prop_OpenQuote"/>
  6818.                                                         <xsl:value-of select="$interviewTitleDot"/>
  6819.                                                         <xsl:call-template name="templ_prop_CloseQuote"/>
  6820.                                                     </xsl:if>
  6821.  
  6822.  
  6823.                                                     <xsl:if test="string-length($broadcastTitleDot)=0">
  6824.                                                         <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($broadcastTitleDot)>0">
  6825.                                                             <xsl:call-template name="templ_prop_Space"/>
  6826.                                                         </xsl:if>
  6827.  
  6828.                                                         <xsl:call-template name = "ApplyItalicTitleNS">
  6829.                                                          <xsl:with-param name = "data">
  6830.                                                         <xsl:value-of select="$interviewTitle"/>
  6831.                                                          </xsl:with-param>
  6832.                                                         </xsl:call-template>
  6833.                                                     </xsl:if>
  6834.                                                 </xsl:if>
  6835.  
  6836.                                                 <xsl:if test="string-length($broadcastTitleDot)>0">
  6837.                                                     <xsl:if test="string-length($interviewerDot)>0 or string-length($intervieweeLFDot)>0 or string-length($interviewTitle)>0">
  6838.                                                         <xsl:call-template name="templ_prop_Space"/>
  6839.                                                     </xsl:if>
  6840.  
  6841.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6842.                                                      <xsl:with-param name = "data">
  6843.                                                     <xsl:value-of select="$broadcastTitleDot"/>
  6844.                                                      </xsl:with-param>
  6845.                                                     </xsl:call-template>
  6846.                                                 </xsl:if>
  6847.  
  6848.                                                 <xsl:if test="string-length($broadcasterDot)>0">
  6849.                                                     <xsl:if test="string-length($interviewerDot)>0 or string-length($intervieweeLFDot)>0 or string-length($interviewTitle)>0 or string-length($broadcastTitleDot)>0">
  6850.                                                         <xsl:call-template name="templ_prop_Space"/>
  6851.                                                     </xsl:if>
  6852.                                                     <xsl:value-of select="$broadcasterDot"/>
  6853.                                                 </xsl:if>
  6854.  
  6855.                                                 <xsl:if test="string-length($tempSC)>0">
  6856.                                                     <xsl:if test="string-length($interviewerDot)>0 or string-length($intervieweeLFDot)>0 or string-length($interviewTitle)>0 or string-length($broadcastTitleDot)>0 or string-length($broadcasterDot)>0">
  6857.                                                         <xsl:call-template name="templ_prop_Space"/>
  6858.                                                     </xsl:if>
  6859.                                                     <xsl:value-of select="$tempSC"/>
  6860.                                                 </xsl:if>
  6861.  
  6862.                                                 <xsl:if test="string-length($dateDot)>0">
  6863.                                                     <xsl:if test="string-length($interviewerDot)>0 or string-length($intervieweeLFDot)>0 or string-length($interviewTitle)>0 or string-length($broadcastTitleDot)>0 or string-length($broadcasterDot)>0 or string-length($tempSC)>0">
  6864.                                                         <xsl:call-template name="templ_prop_Space"/>
  6865.                                                     </xsl:if>
  6866.                                                     <xsl:value-of select="$dateDot"/>
  6867.                                                 </xsl:if>
  6868.                                             
  6869.                                             </xsl:when>
  6870.                                             
  6871.                                             
  6872.                                             <xsl:otherwise>
  6873.                                             
  6874.                                                 <xsl:if test="string-length($intervieweeLFDot)>0">
  6875.                                                     <xsl:if test="string-length($interviewerDot)=0">
  6876.                                                         <xsl:value-of select="$intervieweeLFDot"/>
  6877.                                                     </xsl:if>
  6878.                                                     <xsl:if test="string-length($interviewerDot)>0">
  6879.                                                         <xsl:value-of select="$intervieweeLF"/>
  6880.                                                     </xsl:if>
  6881.                                                 </xsl:if>
  6882.  
  6883.                                                 <xsl:if test="string-length($interviewerDot)>0">
  6884.                                                     <xsl:if test="string-length($intervieweeLFDot)>0">
  6885.                                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  6886.                                                     </xsl:if>
  6887.                                                     
  6888.                                                     <xsl:call-template name="StringFormatDot">
  6889.                                                           <xsl:with-param name="format">
  6890.                                                             <xsl:if test="string-length($intervieweeLFDot)>0">
  6891.                                                                 <xsl:call-template name="templ_str_InterviewByUnCap"/>
  6892.                                                             </xsl:if>
  6893.                                                             <xsl:if test="string-length($intervieweeLFDot)=0">
  6894.                                                                 <xsl:call-template name="templ_str_InterviewByCap"/>
  6895.                                                             </xsl:if>
  6896.                                                           </xsl:with-param>
  6897.                                                           <xsl:with-param name="parameters">
  6898.                                                               <t:params>
  6899.                                                                   <t:param>
  6900.                                                                     <xsl:value-of select="$interviewer"/>
  6901.                                                                 </t:param>
  6902.                                                               </t:params>
  6903.                                                           </xsl:with-param>
  6904.                                                     </xsl:call-template>
  6905.                                                 </xsl:if>
  6906.  
  6907.                                                 <xsl:if test="string-length($interviewTitle)>0">
  6908.  
  6909.                                                     <xsl:if test="string-length($interviewerDot)>0 or string-length($intervieweeLFDot)>0">
  6910.                                                         <xsl:call-template name="templ_prop_Space"/>
  6911.                                                     </xsl:if>
  6912.  
  6913.                                                     <xsl:if test="string-length($broadcastTitleDot)>0">
  6914.                                                         <xsl:if test="string-length($intervieweeLFDot)>0">
  6915.                                                             <xsl:call-template name="templ_prop_Space"/>
  6916.                                                         </xsl:if>
  6917.  
  6918.                                                         <xsl:call-template name="templ_prop_OpenQuote"/>
  6919.                                                         <xsl:value-of select="$interviewTitleDot"/>
  6920.                                                         <xsl:call-template name="templ_prop_CloseQuote"/>
  6921.                                                     </xsl:if>
  6922.  
  6923.  
  6924.                                                     <xsl:if test="string-length($broadcastTitleDot)=0">
  6925.                                                         <xsl:if test="string-length($intervieweeLFDot)>0 or string-length($broadcastTitleDot)>0">
  6926.                                                             <xsl:call-template name="templ_prop_Space"/>
  6927.                                                         </xsl:if>
  6928.  
  6929.                                                         <xsl:call-template name = "ApplyItalicTitleNS">
  6930.                                                          <xsl:with-param name = "data">
  6931.                                                         <xsl:value-of select="$interviewTitle"/>
  6932.                                                           </xsl:with-param>
  6933.                                                          </xsl:call-template>
  6934.                                                     </xsl:if>
  6935.                                                 </xsl:if>
  6936.  
  6937.                                                 <xsl:if test="string-length($broadcastTitleDot)>0">
  6938.                                                     <xsl:if test="string-length($interviewerDot)>0 or string-length($intervieweeLFDot)>0 or string-length($interviewTitle)>0">
  6939.                                                         <xsl:call-template name="templ_prop_Space"/>
  6940.                                                     </xsl:if>
  6941.                                                     
  6942.                                                     <xsl:call-template name = "ApplyItalicTitleNS">
  6943.                                                      <xsl:with-param name = "data">
  6944.                                                     <xsl:if test="string-length($editor)>0 or string-length($translator)>0">
  6945.                                                         <xsl:value-of select="$broadcastTitle"/>
  6946.                                                     </xsl:if>
  6947.                                                     <xsl:if test="string-length($editor)=0 and string-length($translator)=0">
  6948.                                                         <xsl:value-of select="$broadcastTitleDot"/>
  6949.                                                     </xsl:if>
  6950.                                                      </xsl:with-param>
  6951.                                                     </xsl:call-template>
  6952.                                                 </xsl:if>
  6953.  
  6954.  
  6955.                                                 <xsl:if test="string-length($theCapLongPrefixEditedByDot)>0">
  6956.                                                     <xsl:if test="string-length($broadcastTitleDot)>0">
  6957.                                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  6958.                                                         <xsl:if test="string-length($theCapLongPrefixTranslatedByDot)>0">
  6959.                                                             <xsl:value-of select="$theUnCapLongPrefixEditedBy"/>
  6960.                                                         </xsl:if>
  6961.                                                         <xsl:if test="string-length($theCapLongPrefixTranslatedByDot)=0">
  6962.                                                             <xsl:value-of select="$theUnCapLongPrefixEditedByDot"/>
  6963.                                                         </xsl:if>
  6964.                                                     </xsl:if>
  6965.                                                     <xsl:if test="string-length($broadcastTitleDot)=0">
  6966.                                                         <xsl:if test="string-length($theCapLongPrefixTranslatedByDot)>0">
  6967.                                                             <xsl:value-of select="$theCapLongPrefixEditedBy"/>
  6968.                                                         </xsl:if>
  6969.                                                         <xsl:if test="string-length($theCapLongPrefixTranslatedByDot)=0">
  6970.                                                             <xsl:value-of select="$theCapLongPrefixEditedByDot"/>
  6971.                                                         </xsl:if>
  6972.                                                     </xsl:if>
  6973.                                                 </xsl:if>
  6974.  
  6975.                                                 <xsl:if test="string-length($theCapLongPrefixTranslatedByDot)>0">
  6976.                                                     <xsl:if test="string-length($broadcastTitleDot)>0 or string-length($theCapLongPrefixEditedByDot)>0">
  6977.                                                         <xsl:call-template name="templ_prop_ListSeparator"/>
  6978.                                                         <xsl:value-of select="$theUnCapLongPrefixTranslatedByDot"/>
  6979.                                                     </xsl:if>
  6980.                                                     <xsl:if test="string-length($broadcastTitleDot)=0 and string-length($theCapLongPrefixEditedByDot)=0">
  6981.                                                         <xsl:value-of select="$theCapLongPrefixTranslatedByDot"/>
  6982.                                                     </xsl:if>
  6983.                                                 </xsl:if>
  6984.  
  6985.                                                 <xsl:if test="string-length($tempCPDMY)>0">
  6986.                                                     <xsl:if test="string-length($interviewerDot)>0 or string-length($intervieweeLFDot)>0 or string-length($interviewTitle)>0 or string-length($broadcastTitleDot)>0 or string-length($theCapLongPrefixTranslatedByDot)>0 or string-length($theCapLongPrefixEditedByDot)>0">
  6987.                                                         <xsl:call-template name="templ_prop_Space"/>
  6988.                                                     </xsl:if>
  6989.  
  6990.                                                     <xsl:value-of select="$tempCPDMY"/>
  6991.                                                 </xsl:if>
  6992.                                             </xsl:otherwise>
  6993.                                         </xsl:choose>
  6994.                                         
  6995.  
  6996.                                     </xsl:when>
  6997.  
  6998.  
  6999.                                     
  7000.  
  7001.  
  7002.  
  7003.                                     
  7004.                                 </xsl:choose>
  7005.                             </xsl:element>
  7006.                         </xsl:for-each>
  7007.                     </body>
  7008.                 </html>
  7009.             </xsl:when>
  7010.         </xsl:choose>
  7011.     </xsl:template>
  7012.     
  7013.     
  7014.     <xsl:template name="sortedList">
  7015.         <xsl:param name="sourceRoot"/>    
  7016.         <xsl:apply-templates select="msxsl:node-set($sourceRoot)/*">    
  7017.             <xsl:sort select="b:SortingString" />                
  7018.         </xsl:apply-templates>    
  7019.     </xsl:template>
  7020.  
  7021.     
  7022.     <xsl:template match="*">
  7023.     
  7024.         <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7025.             <xsl:for-each select="@*">
  7026.                 <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  7027.                     <xsl:value-of select="."/>
  7028.                 </xsl:attribute>
  7029.             </xsl:for-each>
  7030.             <xsl:apply-templates>
  7031.                 <xsl:sort select="b:SortingString" />                
  7032.             </xsl:apply-templates>
  7033.         </xsl:element>
  7034.     </xsl:template>
  7035.     
  7036.     <xsl:template match="text()">
  7037.         <xsl:value-of select="."/>
  7038.     </xsl:template>
  7039.     
  7040.     <xsl:template name="formatMainAuthor">
  7041.         <xsl:call-template name="formatNameCore">
  7042.             <xsl:with-param name="FML"><xsl:call-template name="templ_prop_Chicago_MainAuthor_FML"/></xsl:with-param>
  7043.             <xsl:with-param name="FM"><xsl:call-template name="templ_prop_Chicago_MainAuthor_FM"/></xsl:with-param>
  7044.             <xsl:with-param name="ML"><xsl:call-template name="templ_prop_Chicago_MainAuthor_ML"/></xsl:with-param>
  7045.             <xsl:with-param name="FL"><xsl:call-template name="templ_prop_Chicago_MainAuthor_FL"/></xsl:with-param>
  7046.         </xsl:call-template>
  7047.     </xsl:template>
  7048.  
  7049.     
  7050.     <xsl:template name="formatSecondaryName">
  7051.         <xsl:call-template name="formatNameCore">
  7052.             <xsl:with-param name="FML"><xsl:call-template name="templ_prop_Chicago_SecondaryAuthors_FML"/></xsl:with-param>
  7053.             <xsl:with-param name="FM"><xsl:call-template name="templ_prop_Chicago_SecondaryAuthors_FM"/></xsl:with-param>
  7054.             <xsl:with-param name="ML"><xsl:call-template name="templ_prop_Chicago_SecondaryAuthors_ML"/></xsl:with-param>
  7055.             <xsl:with-param name="FL"><xsl:call-template name="templ_prop_Chicago_SecondaryAuthors_FL"/></xsl:with-param>
  7056.         </xsl:call-template>
  7057.     </xsl:template>
  7058.  
  7059.  
  7060.     <xsl:template name="formatOtherAuthors">
  7061.         <xsl:call-template name="formatNameCore">
  7062.             <xsl:with-param name="FML"><xsl:call-template name="templ_prop_Chicago_OtherAuthors_FML"/></xsl:with-param>
  7063.             <xsl:with-param name="FM"><xsl:call-template name="templ_prop_Chicago_OtherAuthors_FM"/></xsl:with-param>
  7064.             <xsl:with-param name="ML"><xsl:call-template name="templ_prop_Chicago_OtherAuthors_ML"/></xsl:with-param>
  7065.             <xsl:with-param name="FL"><xsl:call-template name="templ_prop_Chicago_OtherAuthors_FL"/></xsl:with-param>
  7066.         </xsl:call-template>
  7067.     </xsl:template>
  7068.  
  7069.  
  7070.     <xsl:template name="formatPersonSeperator">
  7071.  
  7072.         <xsl:choose>
  7073.             <xsl:when test="count(../b:Person) > 6 and position() = 1">
  7074.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  7075.                 <xsl:call-template name="templ_str_AndOthersUnCap"/>
  7076.             </xsl:when>
  7077.             <xsl:when test="count(../b:Person) > 6 and position() >= 2">
  7078.             </xsl:when>
  7079.             <xsl:when test="6 >= count(../b:Person) and position() = count(../b:Person) - 1">
  7080.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  7081.                 <xsl:variable name="noAndBeforeLastAuthor">
  7082.                     <xsl:call-template name="templ_prop_NoAndBeforeLastAuthor"/>
  7083.                 </xsl:variable>
  7084.                 <xsl:if test="$noAndBeforeLastAuthor != 'yes'">
  7085.                     <xsl:call-template name="templ_str_AndUnCap"/>
  7086.                     <xsl:call-template name="templ_prop_Space"/>
  7087.                 </xsl:if>
  7088.             </xsl:when>
  7089.             <xsl:when test="position() = count(../b:Person)">
  7090.                 <xsl:text></xsl:text>
  7091.             </xsl:when>
  7092.             <xsl:when test="6 > position()">
  7093.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  7094.             </xsl:when>
  7095.         </xsl:choose>
  7096.     </xsl:template>
  7097.     
  7098.     <xsl:template name="formatPersonSeperator2">
  7099.  
  7100.         <xsl:choose>
  7101.             <xsl:when test="count(../b:Person) > 6 and position() = 1">
  7102.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  7103.                 <xsl:call-template name="templ_str_AndOthersUnCap"/>
  7104.             </xsl:when>
  7105.             <xsl:when test="count(../b:Person) > 6 and position() >= 2">
  7106.             </xsl:when>
  7107.             <xsl:when test="6 >= count(../b:Person) and position() = count(../b:Person) - 1">
  7108.                 <xsl:variable name="noAndBeforeLastAuthor">
  7109.                     <xsl:call-template name="templ_prop_NoAndBeforeLastAuthor"/>
  7110.                 </xsl:variable>
  7111.  
  7112.                 <xsl:if test="$noAndBeforeLastAuthor != 'yes'">
  7113.                     <xsl:call-template name="templ_prop_Space"/>
  7114.                     <xsl:call-template name="templ_str_AndUnCap"/>
  7115.                     <xsl:call-template name="templ_prop_Space"/>
  7116.                 </xsl:if>
  7117.                 <xsl:if test="$noAndBeforeLastAuthor = 'yes'">
  7118.                     <xsl:call-template name="templ_prop_AuthorsSeparator"/>
  7119.                 </xsl:if>
  7120.             </xsl:when>
  7121.             <xsl:when test="position() = count(../b:Person)">
  7122.                 <xsl:text></xsl:text>
  7123.             </xsl:when>
  7124.             <xsl:when test="6 > position()">
  7125.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  7126.             </xsl:when>
  7127.         </xsl:choose>
  7128.     </xsl:template>
  7129.  
  7130.     <xsl:template name="formatPersonsAuthor">
  7131.         <xsl:if test="string-length(b:Corporate)=0">
  7132.             <xsl:for-each select="b:NameList/b:Person">
  7133.                 <xsl:if test="position() = 1">
  7134.                     <xsl:call-template name="formatMainAuthor"/>
  7135.                 </xsl:if>
  7136.                 <xsl:if test="6 >= count(../b:Person) and 6 >= position() and position() != 1">
  7137.                     <xsl:call-template name="formatOtherAuthors"/>
  7138.                 </xsl:if>
  7139.                 <xsl:call-template name="formatPersonSeperator"/>
  7140.             </xsl:for-each>
  7141.         </xsl:if>
  7142.  
  7143.         <xsl:if test="string-length(b:Corporate)>0">
  7144.             <xsl:value-of select="b:Corporate"/>
  7145.         </xsl:if>
  7146.     </xsl:template>
  7147.     
  7148.     <xsl:template name="formatPersons">
  7149.         <xsl:if test="string-length(b:Corporate)=0">
  7150.             <xsl:for-each select="b:NameList/b:Person">
  7151.                 <xsl:if test="(count(../b:Person) > 6 and 1 = position()) or (6 >= count(../b:Person))">
  7152.                     <xsl:call-template name="formatSecondaryName"/>
  7153.                 </xsl:if>
  7154.                 <xsl:call-template name="formatPersonSeperator2"/>
  7155.             </xsl:for-each>
  7156.         </xsl:if>
  7157.  
  7158.         <xsl:if test="string-length(b:Corporate)>0">
  7159.             <xsl:value-of select="b:Corporate"/>
  7160.         </xsl:if>
  7161.     </xsl:template>
  7162.     
  7163.     <xsl:template name="formatAuthor">
  7164.         <xsl:for-each select="b:Author/b:Author">
  7165.             <xsl:call-template name="formatPersonsAuthor"/>
  7166.         </xsl:for-each>
  7167.     </xsl:template>
  7168.  
  7169.     <xsl:template name="formatMain">
  7170.         <xsl:for-each select="b:Author/b:Main">
  7171.             <xsl:call-template name="formatPersonsAuthor"/>
  7172.         </xsl:for-each>
  7173.     </xsl:template>
  7174.  
  7175.  
  7176.     <xsl:template name="formatBookAuthor">
  7177.         <xsl:for-each select="b:Author/b:BookAuthor">
  7178.             <xsl:call-template name="formatPersons"/>
  7179.         </xsl:for-each>
  7180.     </xsl:template>
  7181.     
  7182.     <xsl:template name="formatEditorLF">
  7183.         <xsl:for-each select="b:Author/b:Editor">
  7184.             <xsl:call-template name="formatPersonsAuthor"/>
  7185.         </xsl:for-each>
  7186.     </xsl:template>
  7187.  
  7188.     <xsl:template name="formatTranslatorLF">
  7189.         <xsl:for-each select="b:Author/b:Translator">
  7190.             <xsl:call-template name="formatPersonsAuthor"/>
  7191.         </xsl:for-each>
  7192.     </xsl:template>
  7193.  
  7194.  
  7195.     <xsl:template name="formatPerformerLF">
  7196.         <xsl:for-each select="b:Author/b:Performer">
  7197.             <xsl:call-template name="formatPersonsAuthor"/>
  7198.         </xsl:for-each>
  7199.     </xsl:template>
  7200.  
  7201.     <xsl:template name="formatConductorLF">
  7202.         <xsl:for-each select="b:Author/b:Conductor">
  7203.             <xsl:call-template name="formatPersonsAuthor"/>
  7204.         </xsl:for-each>
  7205.     </xsl:template>
  7206.  
  7207.     <xsl:template name="formatComposerLF">
  7208.         <xsl:for-each select="b:Author/b:Composer">
  7209.             <xsl:call-template name="formatPersonsAuthor"/>
  7210.         </xsl:for-each>
  7211.     </xsl:template>
  7212.  
  7213.     <xsl:template name="formatArtistLF">
  7214.         <xsl:for-each select="b:Author/b:Artist">
  7215.             <xsl:call-template name="formatPersonsAuthor"/>
  7216.         </xsl:for-each>
  7217.     </xsl:template>
  7218.  
  7219.  
  7220.     <xsl:template name="formatInventorLF">
  7221.         <xsl:for-each select="b:Author/b:Inventor">
  7222.             <xsl:call-template name="formatPersonsAuthor"/>
  7223.         </xsl:for-each>
  7224.     </xsl:template>
  7225.  
  7226.  
  7227.     <xsl:template name="formatIntervieweeLF">
  7228.         <xsl:for-each select="b:Author/b:Interviewee">
  7229.             <xsl:call-template name="formatPersonsAuthor"/>
  7230.         </xsl:for-each>
  7231.     </xsl:template>
  7232.  
  7233.  
  7234.     <xsl:template name="formatInterviewerLF">
  7235.         <xsl:for-each select="b:Author/b:Interviewer">
  7236.             <xsl:call-template name="formatPersonsAuthor"/>
  7237.         </xsl:for-each>
  7238.     </xsl:template>
  7239.  
  7240.  
  7241.     <xsl:template name="formatCompilerLF">
  7242.         <xsl:for-each select="b:Author/b:Compiler">
  7243.             <xsl:call-template name="formatPersonsAuthor"/>
  7244.         </xsl:for-each>
  7245.     </xsl:template>
  7246.  
  7247.  
  7248.     <xsl:template name="formatWriterLF">
  7249.         <xsl:for-each select="b:Author/b:Writer">
  7250.             <xsl:call-template name="formatPersonsAuthor"/>
  7251.         </xsl:for-each>
  7252.     </xsl:template>
  7253.  
  7254.  
  7255.  
  7256.  
  7257.  
  7258.  
  7259.  
  7260.  
  7261.  
  7262.  
  7263.     <xsl:template name="formatEditor">
  7264.         <xsl:for-each select="b:Author/b:Editor">
  7265.             <xsl:call-template name="formatPersons"/>
  7266.         </xsl:for-each>
  7267.     </xsl:template>
  7268.     
  7269.     <xsl:template name="formatTranslator">
  7270.         <xsl:for-each select="b:Author/b:Translator">
  7271.             <xsl:call-template name="formatPersons"/>
  7272.         </xsl:for-each>
  7273.     </xsl:template>
  7274.     
  7275.  
  7276.     <xsl:template name="formatPerformer">
  7277.         <xsl:for-each select="b:Author/b:Performer">
  7278.             <xsl:call-template name="formatPersons"/>
  7279.         </xsl:for-each>
  7280.     </xsl:template>
  7281.     
  7282.     
  7283.  
  7284.     <xsl:template name="formatConductor">
  7285.         <xsl:for-each select="b:Author/b:Conductor">
  7286.             <xsl:call-template name="formatPersons"/>
  7287.         </xsl:for-each>
  7288.     </xsl:template>
  7289.     
  7290.  
  7291.     <xsl:template name="formatComposer">
  7292.         <xsl:for-each select="b:Author/b:Composer">
  7293.             <xsl:call-template name="formatPersons"/>
  7294.         </xsl:for-each>
  7295.     </xsl:template>        
  7296.     
  7297.     <xsl:template name="formatInterviewer">
  7298.         <xsl:for-each select="b:Author/b:Interviewer">
  7299.             <xsl:call-template name="formatPersons"/>
  7300.         </xsl:for-each>
  7301.     </xsl:template>        
  7302.     
  7303.  
  7304.     <xsl:template name="formatWriter">
  7305.         <xsl:for-each select="b:Author/b:Writer">
  7306.             <xsl:call-template name="formatPersons"/>
  7307.         </xsl:for-each>
  7308.     </xsl:template>
  7309.     
  7310.  
  7311.     <xsl:template name="formatDirector">
  7312.         <xsl:for-each select="b:Author/b:Director">
  7313.             <xsl:call-template name="formatPersons"/>
  7314.         </xsl:for-each>
  7315.     </xsl:template>        
  7316.     
  7317.     <xsl:template name="formatProducerName">
  7318.         <xsl:for-each select="b:Author/b:ProducerName">
  7319.             <xsl:call-template name="formatPersons"/>
  7320.         </xsl:for-each>
  7321.     </xsl:template>        
  7322.  
  7323.     <xsl:template name="formatCompiler">
  7324.         <xsl:for-each select="b:Author/b:Compiler">
  7325.             <xsl:call-template name="formatPersons"/>
  7326.         </xsl:for-each>
  7327.     </xsl:template>        
  7328.     
  7329.  
  7330.     
  7331.     
  7332.     <xsl:template name="formatDate">
  7333.         <xsl:param name="appendSpace"/>
  7334.         <xsl:call-template name="formatDateCore">
  7335.             <xsl:with-param name="day">
  7336.                 <xsl:call-template name="handleSpaces">
  7337.                     <xsl:with-param name="field" select="b:Day"/>
  7338.                 </xsl:call-template>
  7339.             </xsl:with-param>
  7340.             <xsl:with-param name="month">
  7341.                 <xsl:call-template name="handleSpaces">
  7342.                     <xsl:with-param name="field" select="b:Month"/>
  7343.                 </xsl:call-template>
  7344.             </xsl:with-param>
  7345.             <xsl:with-param name="year">
  7346.                 <xsl:call-template name="handleSpaces">
  7347.                     <xsl:with-param name="field" select="b:Year"/>
  7348.                 </xsl:call-template>
  7349.             </xsl:with-param>
  7350.             
  7351.             <xsl:with-param name="DMY"><xsl:call-template name="templ_prop_Chicago_Date_DMY"/></xsl:with-param>
  7352.             <xsl:with-param name="DM"><xsl:call-template name="templ_prop_Chicago_Date_DM"/></xsl:with-param>
  7353.             <xsl:with-param name="MY"><xsl:call-template name="templ_prop_Chicago_Date_MY"/></xsl:with-param>
  7354.             <xsl:with-param name="DY"><xsl:call-template name="templ_prop_Chicago_Date_DY"/></xsl:with-param>
  7355.  
  7356.             <xsl:with-param name="displayND">no</xsl:with-param>
  7357.         </xsl:call-template>
  7358.     </xsl:template>
  7359.     
  7360.     <xsl:template name="formatDateAccessed">
  7361.         <xsl:call-template name="formatDateCore">
  7362.             <xsl:with-param name="day">
  7363.                 <xsl:call-template name="handleSpaces">
  7364.                     <xsl:with-param name="field" select="b:DayAccessed"/>
  7365.                 </xsl:call-template>
  7366.             </xsl:with-param>
  7367.             <xsl:with-param name="month">
  7368.                 <xsl:call-template name="handleSpaces">
  7369.                     <xsl:with-param name="field" select="b:MonthAccessed"/>
  7370.                 </xsl:call-template>
  7371.             </xsl:with-param>
  7372.             <xsl:with-param name="year">
  7373.                 <xsl:call-template name="handleSpaces">
  7374.                     <xsl:with-param name="field" select="b:YearAccessed"/>
  7375.                 </xsl:call-template>
  7376.             </xsl:with-param>
  7377.             
  7378.             <xsl:with-param name="DMY"><xsl:call-template name="templ_prop_APA_DateAccessed_DMY"/></xsl:with-param>
  7379.             <xsl:with-param name="DM"><xsl:call-template name="templ_prop_APA_DateAccessed_DM"/></xsl:with-param>
  7380.             <xsl:with-param name="MY"><xsl:call-template name="templ_prop_APA_DateAccessed_MY"/></xsl:with-param>
  7381.             <xsl:with-param name="DY"><xsl:call-template name="templ_prop_APA_DateAccessed_DY"/></xsl:with-param>
  7382.  
  7383.             <xsl:with-param name="displayND">no</xsl:with-param>
  7384.         </xsl:call-template>
  7385.     </xsl:template>
  7386.     
  7387.     
  7388.         
  7389.         
  7390.         
  7391.         
  7392.     <xsl:template name="MainContributors">
  7393.         <xsl:param name="SourceRoot"/>
  7394.         <xsl:choose>
  7395.             <xsl:when test="./b:SourceType='Book'">
  7396.                 <xsl:choose>
  7397.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7398.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7399.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  7400.                 </xsl:choose>
  7401.             </xsl:when>
  7402.             
  7403.             <xsl:when test="./b:SourceType='BookSection'">
  7404.                 <xsl:choose>
  7405.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7406.                     <xsl:when test="string-length(./b:Author/b:BookAuthor)>0">BookAuthor</xsl:when>
  7407.                 </xsl:choose>
  7408.             </xsl:when>
  7409.             
  7410.             <xsl:when test="./b:SourceType='JournalArticle'">
  7411.                 <xsl:choose>
  7412.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7413.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7414.                 </xsl:choose>
  7415.             </xsl:when>
  7416.             
  7417.             <xsl:when test="./b:SourceType='ArticleInAPeriodical'">
  7418.                 <xsl:choose>
  7419.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7420.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7421.                 </xsl:choose>
  7422.             </xsl:when>
  7423.             
  7424.             <xsl:when test="./b:SourceType='ConferenceProceedings'">
  7425.                 <xsl:choose>
  7426.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7427.                 </xsl:choose>
  7428.             </xsl:when>
  7429.             
  7430.             <xsl:when test="./b:SourceType='Report'">
  7431.                 <xsl:choose>
  7432.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7433.                 </xsl:choose>
  7434.             </xsl:when>
  7435.             
  7436.             <xsl:when test="./b:SourceType='SoundRecording'">
  7437.                 <xsl:choose>
  7438.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  7439.                     <xsl:when test="string-length(./b:Author/b:Conductor)>0">Conductor</xsl:when>
  7440.                     <xsl:when test="string-length(./b:Author/b:Composer)>0">Composer</xsl:when>
  7441.                     <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  7442.                 </xsl:choose>
  7443.             </xsl:when>
  7444.                         
  7445.             <xsl:when test="./b:SourceType='Performance'">
  7446.                 <xsl:choose>
  7447.                     <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  7448.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  7449.                     <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  7450.                 </xsl:choose>
  7451.             </xsl:when>
  7452.                         
  7453.             <xsl:when test="./b:SourceType='Art'">
  7454.                 <xsl:choose>
  7455.                     <xsl:when test="string-length(./b:Author/b:Artist)>0">Artist</xsl:when>
  7456.                 </xsl:choose>
  7457.             </xsl:when>
  7458.                                     
  7459.             <xsl:when test="./b:SourceType='DocumentFromInternetSite'">
  7460.                 <xsl:choose>
  7461.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7462.                 </xsl:choose>
  7463.             </xsl:when>
  7464.                                     
  7465.             <xsl:when test="./b:SourceType='InternetSite'">
  7466.                 <xsl:choose>
  7467.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7468.                 </xsl:choose>
  7469.             </xsl:when>
  7470.                                     
  7471.             <xsl:when test="./b:SourceType='Film'">
  7472.                 <xsl:choose>
  7473.                     <xsl:when test="string-length(./b:Author/b:Writer)>0">Writer</xsl:when>
  7474.                     <xsl:when test="string-length(./b:Author/b:Performer)>0">Performer</xsl:when>
  7475.                     <xsl:when test="string-length(./b:Author/b:Director)>0">Director</xsl:when>
  7476.                 </xsl:choose>
  7477.             </xsl:when>
  7478.                                     
  7479.             <xsl:when test="./b:SourceType='Interview'">
  7480.                 <xsl:choose>
  7481.                     <xsl:when test="string-length(./b:Author/b:Interviewee)>0">Interviewee</xsl:when>
  7482.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7483.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  7484.                 </xsl:choose>
  7485.             </xsl:when>
  7486.                                     
  7487.             <xsl:when test="./b:SourceType='Patent'">
  7488.                 <xsl:choose>
  7489.                     <xsl:when test="string-length(./b:Author/b:Inventor)>0">Inventor</xsl:when>
  7490.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7491.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  7492.                 </xsl:choose>
  7493.             </xsl:when>
  7494.                                     
  7495.             <xsl:when test="./b:SourceType='ElectronicSource'">
  7496.                 <xsl:choose>
  7497.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7498.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7499.                 </xsl:choose>
  7500.             </xsl:when>
  7501.                                     
  7502.             <xsl:when test="./b:SourceType='Case'">
  7503.                 <xsl:choose>
  7504.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7505.                 </xsl:choose>
  7506.             </xsl:when>
  7507.                                                 
  7508.             <xsl:when test="./b:SourceType='Misc'">
  7509.                 <xsl:choose>
  7510.                     <xsl:when test="string-length(./b:Author/b:Author)>0">Author</xsl:when>
  7511.                     <xsl:when test="string-length(./b:Author/b:Editor)>0">Editor</xsl:when>
  7512.                     <xsl:when test="string-length(./b:Author/b:Compiler)>0">Compiler</xsl:when>
  7513.                     <xsl:when test="string-length(./b:Author/b:Translator)>0">Translator</xsl:when>
  7514.                 </xsl:choose>
  7515.             </xsl:when>    
  7516.         </xsl:choose>
  7517.     </xsl:template>
  7518.     
  7519.     
  7520.     
  7521.     <xsl:template name="populateMain">
  7522.         <xsl:param name="Type"/>    
  7523.         <xsl:element name="{$Type}">    
  7524.         
  7525.         <xsl:for-each select="/*[$Type]/b:Source">        
  7526.             <xsl:variable name="MostImportantAuthorLocalName">    
  7527.                 <xsl:call-template name="MainContributors"/>
  7528.             </xsl:variable>
  7529.             <xsl:element name="{'b:Source'}">    
  7530.         <xsl:if test="$Type='b:Citation'">
  7531.           
  7532.           <b:Title>
  7533.             
  7534.             <xsl:if test="string-length(b:Title)>0">
  7535.               <xsl:value-of select="b:Title"/>
  7536.             </xsl:if>
  7537.             
  7538.             <xsl:if test="string-length(b:Title)=0">
  7539.               <xsl:choose>
  7540.                 <xsl:when test="b:SourceType='Book' or
  7541.                                   b:SourceType='JournalArticle' or
  7542.                                   b:SourceType='ConferenceProceedings' or
  7543.                                   b:SourceType='Report' or
  7544.                                   b:SourceType='Performance' or
  7545.                                   b:SourceType='Film' or
  7546.                                   b:SourceType='Patent' or
  7547.                                   b:SourceType='Case'">
  7548.  
  7549.                   <xsl:value-of select="b:ShortTitle"/>
  7550.                 </xsl:when>
  7551.  
  7552.                 <xsl:when test="b:SourceType='BookSection'">
  7553.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7554.                   <xsl:variable name="bookTitle" select="b:BookTitle"/>
  7555.  
  7556.                   <xsl:choose>
  7557.                     <xsl:when test="string-length($shortTitle)>0">
  7558.                       <xsl:value-of select="$shortTitle"/>
  7559.                     </xsl:when>
  7560.                     <xsl:when test="string-length($bookTitle)>0">
  7561.                       <xsl:value-of select="$bookTitle"/>
  7562.                     </xsl:when>
  7563.                   </xsl:choose>
  7564.  
  7565.                 </xsl:when>
  7566.  
  7567.                 <xsl:when test="b:SourceType='ArticleInAPeriodical'">
  7568.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7569.                   <xsl:variable name="periodicalTitle" select="b:PeriodicalTitle"/>
  7570.  
  7571.                   <xsl:choose>
  7572.                     <xsl:when test="string-length($shortTitle)>0">
  7573.                       <xsl:value-of select="$shortTitle"/>
  7574.                     </xsl:when>
  7575.                     <xsl:when test="string-length($periodicalTitle)>0">
  7576.                       <xsl:value-of select="$periodicalTitle"/>
  7577.                     </xsl:when>
  7578.                   </xsl:choose>
  7579.                 </xsl:when>
  7580.  
  7581.                 <xsl:when test="b:SourceType='InternetSite' or
  7582.                                   b:SourceType='DocumentFromInternetSite'">
  7583.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7584.                   <xsl:variable name="internetSiteTitle" select="b:InternetSiteTitle"/>
  7585.  
  7586.                   <xsl:choose>
  7587.                     <xsl:when test="string-length($shortTitle)>0">
  7588.                       <xsl:value-of select="$shortTitle"/>
  7589.                     </xsl:when>
  7590.                     <xsl:when test="string-length($internetSiteTitle)>0">
  7591.                       <xsl:value-of select="$internetSiteTitle"/>
  7592.                     </xsl:when>
  7593.                   </xsl:choose>
  7594.                 </xsl:when>
  7595.  
  7596.                 <xsl:when test="b:SourceType='ElectronicSource' or
  7597.                                   b:SourceType='Art' or
  7598.                                   b:SourceType='Misc'">
  7599.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7600.                   <xsl:variable name="publicationTitle" select="b:PublicationTitle"/>
  7601.  
  7602.                   <xsl:choose>
  7603.                     <xsl:when test="string-length($shortTitle)>0">
  7604.                       <xsl:value-of select="$shortTitle"/>
  7605.                     </xsl:when>
  7606.                     <xsl:when test="string-length($publicationTitle)>0">
  7607.                       <xsl:value-of select="$publicationTitle"/>
  7608.                     </xsl:when>
  7609.                   </xsl:choose>
  7610.                 </xsl:when>
  7611.  
  7612.                 <xsl:when test="b:SourceType='SoundRecording'">
  7613.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7614.                   <xsl:variable name="albumTitle" select="b:AlbumTitle"/>
  7615.  
  7616.                   <xsl:choose>
  7617.                     <xsl:when test="string-length($shortTitle)>0">
  7618.                       <xsl:value-of select="$shortTitle"/>
  7619.                     </xsl:when>
  7620.                     <xsl:when test="string-length($albumTitle)>0">
  7621.                       <xsl:value-of select="$albumTitle"/>
  7622.                     </xsl:when>
  7623.                   </xsl:choose>
  7624.                 </xsl:when>
  7625.  
  7626.                 <xsl:when test="b:SourceType='Interview'">
  7627.                   <xsl:variable name="shortTitle" select="b:ShortTitle"/>
  7628.                   
  7629.                   <xsl:variable name="broadcastTitle" select="b:BroadcastTitle"/>
  7630.                   
  7631.  
  7632.                   <xsl:choose>
  7633.                     <xsl:when test="string-length($shortTitle)>0">
  7634.                       <xsl:value-of select="$shortTitle"/>
  7635.                     </xsl:when>
  7636.                     
  7637.                     <xsl:when test="string-length($broadcastTitle)>0">
  7638.                       <xsl:value-of select="$broadcastTitle"/>
  7639.                     </xsl:when>
  7640.                     
  7641.                   </xsl:choose>
  7642.                 </xsl:when>
  7643.  
  7644.               </xsl:choose>
  7645.             </xsl:if>
  7646.           </b:Title>
  7647.         </xsl:if>
  7648.         <b:SortingString>
  7649.         
  7650.                       <xsl:variable name = "author0">
  7651.                       <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]">
  7652.                         <xsl:call-template name="formatPersonsAuthor"/>
  7653.                       </xsl:for-each>
  7654.                     </xsl:variable>
  7655.  
  7656.                       <xsl:variable name = "author">
  7657.                         <xsl:choose>
  7658.                             <xsl:when test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate) > 0">
  7659.                                 <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  7660.                             </xsl:when>
  7661.                             <xsl:when test="string-length($author0) > 0">
  7662.                                 <xsl:value-of select="$author0"/>
  7663.                             </xsl:when>
  7664.                         </xsl:choose>
  7665.                     </xsl:variable>
  7666.  
  7667.                     <xsl:if test="string-length($author) > 0 and b:SourceType != 'Case'">
  7668.                         <xsl:text> </xsl:text>
  7669.                         <xsl:value-of select="$author"/>
  7670.                     </xsl:if>
  7671.  
  7672.                     <xsl:if test="string-length(b:PeriodicalTitle) > 0 and b:SourceType = 'ArticleInAPeriodical'">
  7673.                         <xsl:text> </xsl:text>
  7674.                         <xsl:value-of select="b:PeriodicalTitle"/>
  7675.                     </xsl:if>
  7676.  
  7677.                     <xsl:if test="string-length(b:Title) > 0">
  7678.                         <xsl:text> </xsl:text>
  7679.                         <xsl:value-of select="b:Title"/>
  7680.                     </xsl:if>
  7681.                     
  7682.                     <xsl:variable name="order">    
  7683.                         <xsl:choose>
  7684.                             <xsl:when test="$MostImportantAuthorLocalName='Author'"><xsl:text>1</xsl:text></xsl:when>
  7685.                             <xsl:when test="$MostImportantAuthorLocalName='Editor'"><xsl:text>2</xsl:text></xsl:when>
  7686.                             <xsl:when test="$MostImportantAuthorLocalName='Compiler'"><xsl:text>3</xsl:text></xsl:when>
  7687.                             <xsl:when test="$MostImportantAuthorLocalName='Translator'"><xsl:text>4</xsl:text></xsl:when>
  7688.                             <xsl:otherwise><xsl:text>1</xsl:text></xsl:otherwise>
  7689.                         </xsl:choose>
  7690.                     </xsl:variable>
  7691.                     
  7692.                     <xsl:text> </xsl:text><xsl:value-of select="$order"/>
  7693.                 </b:SortingString>
  7694.                 <b:Author>        
  7695.                     <b:Main>
  7696.                         <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)=0">
  7697.                             <b:NameList>
  7698.                                 <xsl:for-each select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:NameList/b:Person">    
  7699.                                     <b:Person>        
  7700.                                         <b:Last><xsl:value-of select="./b:Last"/></b:Last>
  7701.                                         <b:First><xsl:value-of select="./b:First"/></b:First>
  7702.                                         <b:Middle><xsl:value-of select="./b:Middle"/></b:Middle>
  7703.                                     </b:Person>
  7704.                                 </xsl:for-each>
  7705.                             </b:NameList>
  7706.                         </xsl:if>
  7707.                         <xsl:if test="string-length(./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate)>0">
  7708.                             <b:Corporate>
  7709.                               <xsl:value-of select="./b:Author/*[local-name()=$MostImportantAuthorLocalName]/b:Corporate"/>
  7710.                             </b:Corporate>
  7711.                         </xsl:if>
  7712.                     </b:Main>
  7713.                     <xsl:for-each select="./b:Author/*">    
  7714.                         
  7715.                             <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7716.                                 <xsl:call-template name="copyNameNodes"/>    
  7717.                             </xsl:element>
  7718.                         
  7719.                     </xsl:for-each>
  7720.                 </b:Author>
  7721.                 <xsl:for-each select="*">    
  7722.             <xsl:if test="name()!='Author' and not(name()='Title' and $Type='b:Citation')">
  7723.               <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7724.                                 <xsl:call-template name="copyNodes"/>    
  7725.                             </xsl:element>
  7726.                         </xsl:if>
  7727.                 </xsl:for-each>
  7728.             </xsl:element>
  7729.             <xsl:for-each select="../*">    
  7730.                         <xsl:if test="local-name()!='Source' and namespace-uri()='http://schemas.openxmlformats.org/officeDocument/2006/bibliography'">
  7731.                             <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7732.                                 <xsl:call-template name="copyNodes"/>    
  7733.                             </xsl:element>
  7734.                         </xsl:if>
  7735.             </xsl:for-each>
  7736.         </xsl:for-each>
  7737.         
  7738.       <xsl:copy-of select="/*[$Type]/b:Locals"/>
  7739.     </xsl:element>
  7740.   </xsl:template>
  7741.  
  7742.   
  7743.     <xsl:template name="copyNameNodes">
  7744.         <xsl:if test="string-length(b:Corporate)=0">
  7745.             <b:NameList>
  7746.                 <xsl:for-each select="b:NameList/b:Person">    
  7747.                     <b:Person>            
  7748.                             <xsl:if test="string-length(./b:Last)>0">    
  7749.                             <b:Last>
  7750.                                 <xsl:value-of select="./b:Last"/>
  7751.                             </b:Last>
  7752.                         </xsl:if>
  7753.                         <xsl:if test="string-length(./b:First)>0">
  7754.                             <b:First>
  7755.                                 <xsl:value-of select="./b:First"/>
  7756.                             </b:First>
  7757.                         </xsl:if>
  7758.                         <xsl:if test="string-length(./b:Middle)>0">
  7759.                             <b:Middle>
  7760.                                 <xsl:value-of select="./b:Middle"/>
  7761.                             </b:Middle>
  7762.                         </xsl:if>
  7763.                     </b:Person>
  7764.                 </xsl:for-each>
  7765.             </b:NameList>
  7766.         </xsl:if>
  7767.         <xsl:if test="string-length(b:Corporate)>0">
  7768.             <b:Corporate>
  7769.               <xsl:value-of select="b:Corporate"/>
  7770.             </b:Corporate>
  7771.         </xsl:if>
  7772.     </xsl:template>
  7773.     
  7774.     
  7775.     <xsl:template name="copyNodes">
  7776.         <xsl:value-of select="."/>
  7777.  
  7778.     </xsl:template>
  7779.  
  7780.     <xsl:template name="copyNodes2">
  7781.             <xsl:for-each select="@*">
  7782.                 <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  7783.                     <xsl:value-of select="."/>
  7784.                 </xsl:attribute>
  7785.             </xsl:for-each>
  7786.             <xsl:for-each select="*">
  7787.                 <xsl:element name="{name()}" namespace="{namespace-uri()}">
  7788.                     <xsl:call-template name="copyNodes2"/>    
  7789.                 </xsl:element>
  7790.             </xsl:for-each>
  7791.  
  7792.     </xsl:template>
  7793.  
  7794.  
  7795.     <xsl:template name="handleSpaces">
  7796.         <xsl:param name="field"/>
  7797.  
  7798.     <xsl:variable name="prop_NormalizeSpace">
  7799.       <xsl:call-template name="templ_prop_NormalizeSpace"/>
  7800.     </xsl:variable>
  7801.  
  7802.     <xsl:choose>
  7803.             <xsl:when test="$prop_NormalizeSpace='yes'">
  7804.                 <xsl:value-of select="normalize-space($field)"/>
  7805.             </xsl:when>
  7806.             <xsl:otherwise>
  7807.                 <xsl:value-of select="$field"/>
  7808.             </xsl:otherwise>
  7809.         </xsl:choose>
  7810.     </xsl:template>
  7811.     
  7812.     
  7813.     
  7814.     <xsl:template name="appendField_Dot">
  7815.         <xsl:param name="field"/>
  7816.         
  7817.         <xsl:variable name="temp">
  7818.             <xsl:call-template name="handleSpaces">
  7819.                 <xsl:with-param name="field" select="$field"/>
  7820.             </xsl:call-template>
  7821.         </xsl:variable>
  7822.  
  7823.         <xsl:variable name="lastChar">
  7824.             <xsl:value-of select="substring($temp, string-length($temp))"/>
  7825.         </xsl:variable>
  7826.  
  7827.     <xsl:variable name="prop_EndChars">
  7828.       <xsl:call-template name="templ_prop_EndChars"/>
  7829.     </xsl:variable>
  7830.  
  7831.     <xsl:choose>
  7832.             <xsl:when test="string-length($temp) = 0">
  7833.             </xsl:when>
  7834.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  7835.                 <xsl:value-of select="$temp"/>
  7836.             </xsl:when>
  7837.             <xsl:otherwise>
  7838.                 <xsl:value-of select="$temp"/>
  7839.                 <xsl:call-template name="templ_prop_Dot"/>
  7840.             </xsl:otherwise>
  7841.         </xsl:choose>
  7842.         
  7843.     </xsl:template>
  7844.     
  7845.     <xsl:template name="need_Dot">
  7846.         <xsl:param name="field"/>
  7847.         
  7848.         <xsl:variable name="temp">
  7849.             <xsl:call-template name="handleSpaces">
  7850.                 <xsl:with-param name="field" select="$field"/>
  7851.             </xsl:call-template>
  7852.         </xsl:variable>
  7853.  
  7854.         <xsl:variable name="lastChar">
  7855.             <xsl:value-of select="substring($temp, string-length($temp))"/>
  7856.         </xsl:variable>
  7857.     
  7858.     <xsl:variable name="prop_EndChars">
  7859.       <xsl:call-template name="templ_prop_EndChars"/>
  7860.     </xsl:variable>
  7861.  
  7862.     <xsl:choose>
  7863.             <xsl:when test="string-length($temp) = 0">
  7864.             </xsl:when>
  7865.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  7866.             </xsl:when>
  7867.             <xsl:otherwise>
  7868.                 <xsl:call-template name="templ_prop_Dot"/>
  7869.             </xsl:otherwise>
  7870.         </xsl:choose>
  7871.     </xsl:template>
  7872.  
  7873.     <xsl:template name="appendFieldNoHandleSpaces_Dot">
  7874.         <xsl:param name="field"/>
  7875.         
  7876.         <xsl:variable name="lastChar">
  7877.             <xsl:value-of select="substring($field, string-length($field))"/>
  7878.         </xsl:variable>
  7879.     
  7880.     <xsl:variable name="prop_EndChars">
  7881.       <xsl:call-template name="templ_prop_EndChars"/>
  7882.     </xsl:variable>
  7883.  
  7884.     <xsl:choose>
  7885.             <xsl:when test="string-length($field) = 0">
  7886.             </xsl:when>
  7887.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  7888.                 <xsl:value-of select="$field"/>
  7889.             </xsl:when>
  7890.             <xsl:otherwise>
  7891.                 <xsl:value-of select="$field"/>
  7892.                 <xsl:call-template name="templ_prop_Dot"/>
  7893.             </xsl:otherwise>
  7894.         </xsl:choose>
  7895.         
  7896.     </xsl:template>
  7897.  
  7898.  
  7899.     <xsl:template name="templateA">
  7900.         <xsl:param name="first"/>
  7901.         <xsl:param name="second"/>
  7902.         <xsl:param name="third"/>
  7903.         
  7904.         <xsl:variable name="tempFirst">
  7905.             <xsl:call-template name="handleSpaces">
  7906.                 <xsl:with-param name="field" select="$first"/>
  7907.             </xsl:call-template>
  7908.         </xsl:variable>
  7909.         
  7910.         <xsl:variable name="tempSecond">
  7911.             <xsl:call-template name="handleSpaces">
  7912.                 <xsl:with-param name="field" select="$second"/>
  7913.             </xsl:call-template>
  7914.         </xsl:variable>
  7915.  
  7916.         <xsl:variable name="tempThird">
  7917.             <xsl:call-template name="handleSpaces">
  7918.                 <xsl:with-param name="field" select="$third"/>
  7919.             </xsl:call-template>
  7920.         </xsl:variable>
  7921.  
  7922.         <xsl:variable name="temp">
  7923.             <xsl:if test="string-length($tempFirst)>0">
  7924.                 <xsl:value-of select="$tempFirst"/>
  7925.             </xsl:if>
  7926.  
  7927.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7928.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  7929.             </xsl:if>
  7930.  
  7931.             <xsl:if test="string-length($tempSecond)>0">
  7932.                 <xsl:value-of select="$tempSecond"/>
  7933.             </xsl:if>
  7934.  
  7935.             <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) and string-length($tempThird)>0">
  7936.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  7937.             </xsl:if>
  7938.  
  7939.             <xsl:if test="string-length($tempThird)>0">
  7940.                 <xsl:value-of select="$tempThird"/>
  7941.             </xsl:if>
  7942.         </xsl:variable>
  7943.  
  7944.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  7945.             <xsl:with-param name="field" select="$temp"/>
  7946.         </xsl:call-template>        
  7947.     </xsl:template>
  7948.  
  7949.     <xsl:template name="templateANoDot">
  7950.         <xsl:param name="first"/>
  7951.         <xsl:param name="second"/>
  7952.         <xsl:param name="third"/>
  7953.         
  7954.         <xsl:variable name="tempFirst">
  7955.             <xsl:call-template name="handleSpaces">
  7956.                 <xsl:with-param name="field" select="$first"/>
  7957.             </xsl:call-template>
  7958.         </xsl:variable>
  7959.         
  7960.         <xsl:variable name="tempSecond">
  7961.             <xsl:call-template name="handleSpaces">
  7962.                 <xsl:with-param name="field" select="$second"/>
  7963.             </xsl:call-template>
  7964.         </xsl:variable>
  7965.  
  7966.         <xsl:variable name="tempThird">
  7967.             <xsl:call-template name="handleSpaces">
  7968.                 <xsl:with-param name="field" select="$third"/>
  7969.             </xsl:call-template>
  7970.         </xsl:variable>
  7971.  
  7972.         <xsl:if test="string-length($tempFirst)>0">
  7973.             <xsl:value-of select="$tempFirst"/>
  7974.         </xsl:if>
  7975.  
  7976.         <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  7977.             <xsl:call-template name="templ_prop_EnumSeparator"/>
  7978.         </xsl:if>
  7979.  
  7980.         <xsl:if test="string-length($tempSecond)>0">
  7981.             <xsl:value-of select="$tempSecond"/>
  7982.         </xsl:if>
  7983.  
  7984.         <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) and string-length($tempThird)>0">
  7985.             <xsl:call-template name="templ_prop_ListSeparator"/>
  7986.         </xsl:if>
  7987.  
  7988.         <xsl:if test="string-length($tempThird)>0">
  7989.             <xsl:value-of select="$tempThird"/>
  7990.         </xsl:if>
  7991.  
  7992.     </xsl:template>
  7993.  
  7994.     <xsl:template name="templateB">
  7995.         <xsl:param name="first"/>
  7996.         <xsl:param name="second"/>
  7997.         
  7998.         <xsl:variable name="tempFirst">
  7999.             <xsl:call-template name="handleSpaces">
  8000.                 <xsl:with-param name="field" select="$first"/>
  8001.             </xsl:call-template>
  8002.         </xsl:variable>
  8003.         
  8004.         <xsl:variable name="tempSecond">
  8005.             <xsl:call-template name="handleSpaces">
  8006.                 <xsl:with-param name="field" select="$second"/>
  8007.             </xsl:call-template>
  8008.         </xsl:variable>
  8009.  
  8010.         <xsl:variable name="temp">
  8011.             <xsl:if test="string-length($tempFirst)>0">
  8012.                 <xsl:value-of select="$tempFirst"/>
  8013.             </xsl:if>
  8014.  
  8015.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  8016.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  8017.             </xsl:if>
  8018.  
  8019.             <xsl:if test="string-length($tempSecond)>0">
  8020.                 <xsl:value-of select="$tempSecond"/>
  8021.             </xsl:if>
  8022.  
  8023.         </xsl:variable>
  8024.  
  8025.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  8026.             <xsl:with-param name="field" select="$temp"/>
  8027.         </xsl:call-template>
  8028.         
  8029.     </xsl:template>
  8030.  
  8031.     <xsl:template name="templateSpaceAB">
  8032.         <xsl:param name="first"/>
  8033.         <xsl:param name="second"/>
  8034.         
  8035.         <xsl:variable name="tempFirst">
  8036.             <xsl:call-template name="handleSpaces">
  8037.                 <xsl:with-param name="field" select="$first"/>
  8038.             </xsl:call-template>
  8039.         </xsl:variable>
  8040.         
  8041.         <xsl:variable name="tempSecond">
  8042.             <xsl:call-template name="handleSpaces">
  8043.                 <xsl:with-param name="field" select="$second"/>
  8044.             </xsl:call-template>
  8045.         </xsl:variable>
  8046.  
  8047.         <xsl:variable name="temp">
  8048.             <xsl:if test="string-length($tempFirst)>0">
  8049.                 <xsl:value-of select="$tempFirst"/>
  8050.             </xsl:if>
  8051.  
  8052.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  8053.                 <xsl:call-template name="templ_prop_Space"/>
  8054.             </xsl:if>
  8055.  
  8056.             <xsl:if test="string-length($tempSecond)>0">
  8057.                 <xsl:value-of select="$tempSecond"/>
  8058.             </xsl:if>
  8059.  
  8060.         </xsl:variable>
  8061.  
  8062.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  8063.             <xsl:with-param name="field" select="$temp"/>
  8064.         </xsl:call-template>
  8065.         
  8066.     </xsl:template>
  8067.  
  8068.  
  8069.     <xsl:template name="templateC">
  8070.         <xsl:param name="first"/>
  8071.         <xsl:param name="second"/>
  8072.         
  8073.         <xsl:variable name="tempFirst">
  8074.             <xsl:call-template name="handleSpaces">
  8075.                 <xsl:with-param name="field" select="$first"/>
  8076.             </xsl:call-template>
  8077.         </xsl:variable>
  8078.         
  8079.         <xsl:variable name="tempSecond">
  8080.             <xsl:call-template name="handleSpaces">
  8081.                 <xsl:with-param name="field" select="$second"/>
  8082.             </xsl:call-template>
  8083.         </xsl:variable>
  8084.  
  8085.         <xsl:variable name="temp">
  8086.             <xsl:if test="string-length($tempFirst)>0">
  8087.                 <xsl:value-of select="$tempFirst"/>
  8088.             </xsl:if>
  8089.  
  8090.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  8091.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  8092.             </xsl:if>
  8093.  
  8094.             <xsl:if test="string-length($tempSecond)>0">
  8095.                 <xsl:value-of select="$tempSecond"/>
  8096.             </xsl:if>
  8097.  
  8098.         </xsl:variable>
  8099.  
  8100.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  8101.             <xsl:with-param name="field" select="$temp"/>
  8102.         </xsl:call-template>
  8103.     </xsl:template>
  8104.  
  8105.  
  8106.     <xsl:template name="templateD">
  8107.         <xsl:param name="first"/>
  8108.         <xsl:param name="second"/>
  8109.         <xsl:param name="third"/>
  8110.         
  8111.         <xsl:variable name="tempFirst">
  8112.             <xsl:call-template name="handleSpaces">
  8113.                 <xsl:with-param name="field" select="$first"/>
  8114.             </xsl:call-template>
  8115.         </xsl:variable>
  8116.         
  8117.         <xsl:variable name="tempSecond">
  8118.             <xsl:call-template name="handleSpaces">
  8119.                 <xsl:with-param name="field" select="$second"/>
  8120.             </xsl:call-template>
  8121.         </xsl:variable>
  8122.  
  8123.         <xsl:variable name="tempThird">
  8124.             <xsl:call-template name="handleSpaces">
  8125.                 <xsl:with-param name="field" select="$third"/>
  8126.             </xsl:call-template>
  8127.         </xsl:variable>
  8128.  
  8129.         <xsl:variable name="temp">
  8130.             <xsl:if test="string-length($tempFirst)>0">
  8131.                 <xsl:value-of select="$tempFirst"/>
  8132.             </xsl:if>
  8133.  
  8134.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  8135.                 <xsl:call-template name="templ_prop_Space"/>
  8136.             </xsl:if>
  8137.  
  8138.             <xsl:if test="string-length($tempSecond)>0">
  8139.                 <xsl:call-template name="templ_prop_OpenBracket"/>
  8140.                 <xsl:value-of select="$tempSecond"/>
  8141.                 <xsl:call-template name="templ_prop_CloseBracket"/>
  8142.             </xsl:if>
  8143.  
  8144.             <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) and string-length($tempThird)>0">
  8145.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  8146.             </xsl:if>
  8147.  
  8148.             <xsl:if test="string-length($tempThird)>0">
  8149.                 <xsl:value-of select="$tempThird"/>
  8150.             </xsl:if>
  8151.         </xsl:variable>
  8152.  
  8153.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  8154.             <xsl:with-param name="field" select="$temp"/>
  8155.         </xsl:call-template>        
  8156.     </xsl:template>
  8157.  
  8158.  
  8159.     <xsl:template name="templateE">
  8160.         <xsl:param name="first"/>
  8161.         <xsl:param name="second"/>
  8162.         <xsl:param name="third"/>
  8163.         
  8164.         <xsl:variable name="tempFirst">
  8165.             <xsl:call-template name="handleSpaces">
  8166.                 <xsl:with-param name="field" select="$first"/>
  8167.             </xsl:call-template>
  8168.         </xsl:variable>
  8169.         
  8170.         <xsl:variable name="tempSecond">
  8171.             <xsl:call-template name="handleSpaces">
  8172.                 <xsl:with-param name="field" select="$second"/>
  8173.             </xsl:call-template>
  8174.         </xsl:variable>
  8175.  
  8176.         <xsl:variable name="tempThird">
  8177.             <xsl:call-template name="handleSpaces">
  8178.                 <xsl:with-param name="field" select="$third"/>
  8179.             </xsl:call-template>
  8180.         </xsl:variable>
  8181.  
  8182.         <xsl:variable name="temp">
  8183.             <xsl:if test="string-length($tempFirst)>0">
  8184.                 <xsl:value-of select="$tempFirst"/>
  8185.             </xsl:if>
  8186.  
  8187.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  8188.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  8189.             </xsl:if>
  8190.  
  8191.             <xsl:if test="string-length($tempSecond)>0">
  8192.                 <xsl:value-of select="$tempSecond"/>
  8193.             </xsl:if>
  8194.  
  8195.             <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) and string-length($tempThird)>0">
  8196.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  8197.             </xsl:if>
  8198.  
  8199.             <xsl:if test="string-length($tempThird)>0">
  8200.                 <xsl:value-of select="$tempThird"/>
  8201.             </xsl:if>
  8202.         </xsl:variable>
  8203.  
  8204.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  8205.             <xsl:with-param name="field" select="$temp"/>
  8206.         </xsl:call-template>        
  8207.     </xsl:template>
  8208.  
  8209.     <xsl:template name="templateH">
  8210.         <xsl:param name="first"/>
  8211.         <xsl:param name="second"/>
  8212.         
  8213.         <xsl:variable name="tempFirst">
  8214.             <xsl:call-template name="handleSpaces">
  8215.                 <xsl:with-param name="field" select="$first"/>
  8216.             </xsl:call-template>
  8217.         </xsl:variable>
  8218.         
  8219.         <xsl:variable name="tempSecond">
  8220.             <xsl:call-template name="handleSpaces">
  8221.                 <xsl:with-param name="field" select="$second"/>
  8222.             </xsl:call-template>
  8223.         </xsl:variable>
  8224.  
  8225.         <xsl:variable name="temp">
  8226.             <xsl:if test="string-length($tempFirst)>0">
  8227.                 <xsl:call-template name = "ApplyItalicTitleNS">
  8228.                  <xsl:with-param name = "data">
  8229.                 <xsl:value-of select="$tempFirst"/>
  8230.                  </xsl:with-param>
  8231.                 </xsl:call-template>
  8232.             </xsl:if>
  8233.  
  8234.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  8235.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  8236.             </xsl:if>
  8237.  
  8238.             <xsl:if test="string-length($tempSecond)>0">
  8239.                 <xsl:value-of select="$tempSecond"/>
  8240.             </xsl:if>
  8241.  
  8242.         </xsl:variable>
  8243.  
  8244.         <xsl:apply-templates select="msxsl:node-set($temp)" mode="outputHtml"/>
  8245.  
  8246.         <xsl:variable name="lastChar">
  8247.             <xsl:value-of select="substring($temp, string-length($temp))"/>
  8248.         </xsl:variable>
  8249.     
  8250.     <xsl:variable name="prop_EndChars">
  8251.       <xsl:call-template name="templ_prop_EndChars"/>
  8252.     </xsl:variable>
  8253.  
  8254.     <xsl:choose>
  8255.             <xsl:when test="string-length($temp) = 0">
  8256.             </xsl:when>
  8257.             <xsl:when test="contains($prop_EndChars, $lastChar)">
  8258.             </xsl:when>
  8259.             <xsl:otherwise>
  8260.                 <xsl:call-template name="templ_prop_Dot"/>
  8261.             </xsl:otherwise>
  8262.         </xsl:choose>
  8263.  
  8264.     </xsl:template>
  8265.  
  8266.     <xsl:template name="templateAsB">
  8267.         <xsl:param name="first"/>
  8268.         <xsl:param name="second"/>
  8269.         
  8270.         <xsl:variable name="tempFirst">
  8271.             <xsl:call-template name="handleSpaces">
  8272.                 <xsl:with-param name="field" select="$first"/>
  8273.             </xsl:call-template>
  8274.         </xsl:variable>
  8275.         
  8276.         <xsl:variable name="tempSecond">
  8277.             <xsl:call-template name="handleSpaces">
  8278.                 <xsl:with-param name="field" select="$second"/>
  8279.             </xsl:call-template>
  8280.         </xsl:variable>
  8281.  
  8282.         <xsl:variable name="temp">
  8283.             <xsl:if test="string-length($tempFirst)>0">
  8284.                 <xsl:value-of select="$tempFirst"/>
  8285.             </xsl:if>
  8286.  
  8287.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  8288.                 <xsl:call-template name="templ_prop_Space"/>
  8289.             </xsl:if>
  8290.  
  8291.             <xsl:if test="string-length($tempSecond)>0">
  8292.                 <xsl:value-of select="$tempSecond"/>
  8293.             </xsl:if>
  8294.         </xsl:variable>
  8295.  
  8296.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  8297.             <xsl:with-param name="field" select="$temp"/>
  8298.         </xsl:call-template>        
  8299.     </xsl:template>
  8300.  
  8301.     <xsl:template name="templateCityStateProvince">
  8302.         <xsl:value-of select="b:City"/>
  8303.  
  8304.         <xsl:if test="string-length(b:City)>0 and string-length(b:StateProvince)>0">
  8305.             <xsl:call-template name="templ_prop_ListSeparator"/>
  8306.         </xsl:if>
  8307.  
  8308.         <xsl:value-of select="b:StateProvince"/>
  8309.     </xsl:template>
  8310.  
  8311.     <xsl:template name="templateCPY">
  8312.         <xsl:call-template name="templateA">
  8313.             <xsl:with-param name="first">
  8314.                 <xsl:call-template name="templateCityStateProvince" />
  8315.             </xsl:with-param>
  8316.             <xsl:with-param name="second" select="b:Publisher"/>
  8317.             <xsl:with-param name="third" select="b:Year"/>
  8318.         </xsl:call-template>        
  8319.     </xsl:template>
  8320.  
  8321.     <xsl:template name="templateCPYNoDot">
  8322.         <xsl:call-template name="templateANoDot">
  8323.             <xsl:with-param name="first">
  8324.                 <xsl:call-template name="templateCityStateProvince" />
  8325.             </xsl:with-param>
  8326.             <xsl:with-param name="second" select="b:Publisher"/>
  8327.             <xsl:with-param name="third" select="b:Year"/>
  8328.         </xsl:call-template>        
  8329.     </xsl:template>
  8330.  
  8331.     <xsl:template name="templateIYP">
  8332.         <xsl:call-template name="templateD">
  8333.             <xsl:with-param name="first" select="b:Issue"/>
  8334.             <xsl:with-param name="second" select="b:Year"/>
  8335.             <xsl:with-param name="third" select="b:Pages"/>
  8336.         </xsl:call-template>        
  8337.     </xsl:template>
  8338.  
  8339.     <xsl:template name="templateVYP">
  8340.         <xsl:call-template name="templateD">
  8341.             <xsl:with-param name="first" select="b:Volume"/>
  8342.             <xsl:with-param name="second" select="b:Year"/>
  8343.             <xsl:with-param name="third" select="b:Pages"/>
  8344.         </xsl:call-template>        
  8345.     </xsl:template>
  8346.  
  8347.     <xsl:template name="templateDEP">
  8348.  
  8349.         <xsl:variable name="date">
  8350.             <xsl:call-template name="formatDate"/>
  8351.         </xsl:variable>
  8352.         
  8353.         <xsl:variable name="editionTemp">
  8354.             <xsl:call-template name="handleSpaces">
  8355.                 <xsl:with-param name="field" select="b:Edition"/>
  8356.             </xsl:call-template>
  8357.         </xsl:variable>
  8358.  
  8359.         <xsl:variable name="edition">
  8360.             <xsl:choose>
  8361.                 <xsl:when test="string-length($editionTemp)>0">
  8362.                     <xsl:call-template name="StringFormat">
  8363.                           <xsl:with-param name="format">
  8364.                             <xsl:call-template name="templ_str_EditionShortUnCap"/>
  8365.                           </xsl:with-param>
  8366.                           <xsl:with-param name="parameters">
  8367.                               <t:params>
  8368.                                   <t:param>
  8369.                                     <xsl:value-of select="$editionTemp"/>
  8370.                                 </t:param>
  8371.                               </t:params>
  8372.                           </xsl:with-param>
  8373.                     </xsl:call-template>
  8374.                 </xsl:when>
  8375.             </xsl:choose>
  8376.         </xsl:variable>
  8377.     
  8378.         <xsl:call-template name="templateE">
  8379.             <xsl:with-param name="first" select="$date"/>
  8380.             <xsl:with-param name="second" select="$edition"/>
  8381.             <xsl:with-param name="third" select="b:Pages"/>
  8382.         </xsl:call-template>        
  8383.     </xsl:template>
  8384.     
  8385.     <xsl:template name="templateRYM">
  8386.         <xsl:call-template name="appendField_Dot">
  8387.             <xsl:with-param name="field" select="b:RecordingNumber"/>
  8388.         </xsl:call-template>
  8389.  
  8390.         <xsl:if test="string-length(b:RecordingNumber) > 0 and (string-length(b:Year) > 0 or string-length(b:Medium) > 0)">
  8391.             <xsl:call-template name="templ_prop_Space"/>
  8392.         </xsl:if>
  8393.         
  8394.         <xsl:call-template name="appendField_Dot">
  8395.             <xsl:with-param name="field" select="b:Year"/>
  8396.         </xsl:call-template>
  8397.  
  8398.         <xsl:if test="(string-length(b:Year) > 0 and string-length(b:Medium) > 0)">
  8399.             <xsl:call-template name="templ_prop_Space"/>
  8400.         </xsl:if>
  8401.  
  8402.         <xsl:call-template name="appendField_Dot">
  8403.             <xsl:with-param name="field" select="b:Medium"/>
  8404.         </xsl:call-template>
  8405.     </xsl:template>
  8406.     
  8407.     <xsl:template name="templateTC">
  8408.         <xsl:call-template name="templateC">
  8409.             <xsl:with-param name="first" select="b:Theater"/>
  8410.             <xsl:with-param name="second" select="b:City"/>
  8411.         </xsl:call-template>        
  8412.     </xsl:template>
  8413.  
  8414.     <xsl:template name="templateIC">
  8415.         <xsl:call-template name="templateC">
  8416.             <xsl:with-param name="first" select="b:Institution"/>
  8417.             <xsl:with-param name="second" select="b:City"/>
  8418.         </xsl:call-template>        
  8419.     </xsl:template>
  8420.  
  8421.     <xsl:template name="templateIY">
  8422.         <xsl:call-template name="templateC">
  8423.             <xsl:with-param name="first" select="b:Institution"/>
  8424.             <xsl:with-param name="second" select="b:Year"/>
  8425.         </xsl:call-template>        
  8426.     </xsl:template>
  8427.  
  8428.  
  8429.     <xsl:template name="templateDY">
  8430.         <xsl:call-template name="templateC">
  8431.             <xsl:with-param name="first" select="b:Distributor"/>
  8432.             <xsl:with-param name="second" select="b:Year"/>
  8433.         </xsl:call-template>        
  8434.     </xsl:template>
  8435.     
  8436.     <xsl:template name="templateCPD">
  8437.         <xsl:variable name="date">
  8438.             <xsl:call-template name="formatDate"/>
  8439.         </xsl:variable>
  8440.         
  8441.         <xsl:call-template name="templateA">
  8442.             <xsl:with-param name="first">
  8443.                 <xsl:call-template name="templateCityStateProvince" />
  8444.             </xsl:with-param>
  8445.             <xsl:with-param name="second" select="b:Publisher"/>
  8446.             <xsl:with-param name="third" select="$date"/>
  8447.         </xsl:call-template>        
  8448.     </xsl:template>
  8449.     
  8450.     <xsl:template name="templateSC">
  8451.         <xsl:call-template name="templateC">
  8452.             <xsl:with-param name="first" select="b:Station"/>
  8453.             <xsl:with-param name="second" select="b:City"/>
  8454.         </xsl:call-template>        
  8455.     </xsl:template>
  8456.     
  8457.  
  8458.     <xsl:template name="templateCP">
  8459.         <xsl:variable name="patentTemp">
  8460.             <xsl:call-template name="handleSpaces">
  8461.                 <xsl:with-param name="field" select="b:PatentNumber"/>
  8462.             </xsl:call-template>
  8463.         </xsl:variable>
  8464.     <xsl:variable name="str_PatentCap">
  8465.       <xsl:call-template name="templ_str_PatentCap"/>
  8466.     </xsl:variable>
  8467.  
  8468.     <xsl:variable name="patent">
  8469.             <xsl:choose>
  8470.                 <xsl:when test="string-length($patentTemp)>0">
  8471.                     <xsl:call-template name="StringFormat">
  8472.                           <xsl:with-param name="format" select="$str_PatentCap"/>
  8473.                           <xsl:with-param name="parameters">
  8474.                               <t:params>
  8475.                                   <t:param>
  8476.                                     <xsl:value-of select="$patentTemp"/>
  8477.                                 </t:param>
  8478.                               </t:params>
  8479.                           </xsl:with-param>
  8480.                     </xsl:call-template>
  8481.                 </xsl:when>
  8482.             </xsl:choose>
  8483.         </xsl:variable>
  8484.         <xsl:call-template name="templateSpaceAB">
  8485.             <xsl:with-param name="first" select="b:CountryRegion"/>
  8486.             <xsl:with-param name="second" select="$patent"/>
  8487.         </xsl:call-template>        
  8488.     </xsl:template>
  8489.  
  8490.  
  8491.     <xsl:template name="templateCCD">
  8492.         <xsl:variable name="date">
  8493.             <xsl:call-template name="formatDate"/>
  8494.         </xsl:variable>
  8495.         
  8496.         <xsl:variable name="temp">
  8497.             <xsl:if test = "string-length(b:Court)>0 or string-length(b:City)>0 or string-length($date)>0">
  8498.                 <xsl:call-template name="templ_prop_OpenBracket"/>
  8499.                 <xsl:value-of select="b:Court"/>
  8500.                 <xsl:if test = "string-length(b:Court)>0 and (string-length(b:City)>0 or string-length($date)>0)">
  8501.                     <xsl:call-template name="templ_prop_ListSeparator"/>
  8502.                 </xsl:if>
  8503.                 <xsl:if test = "string-length(b:City)>0 or string-length($date)>0">
  8504.                     <xsl:value-of select="b:City"/>
  8505.                     <xsl:if test = "string-length(b:City)>0 and string-length($date)>0">
  8506.                         <xsl:call-template name="templ_prop_Space"/>
  8507.                     </xsl:if>
  8508.                     <xsl:value-of select="$date"/>
  8509.                 </xsl:if>
  8510.                 <xsl:call-template name="templ_prop_CloseBracket"/>
  8511.             </xsl:if>
  8512.         </xsl:variable>
  8513.  
  8514.         <xsl:call-template name="appendField_Dot">
  8515.             <xsl:with-param name="field" select="$temp"/>
  8516.         </xsl:call-template>
  8517.     </xsl:template>
  8518.  
  8519.     <xsl:template name="templateVIYP">
  8520.  
  8521.         <xsl:variable name="volume">
  8522.             <xsl:call-template name="handleSpaces">
  8523.                 <xsl:with-param name="field" select="b:Volume"/>
  8524.             </xsl:call-template>
  8525.         </xsl:variable>
  8526.  
  8527.         <xsl:variable name="issue">
  8528.             <xsl:call-template name="handleSpaces">
  8529.                 <xsl:with-param name="field" select="b:Issue"/>
  8530.             </xsl:call-template>
  8531.         </xsl:variable>
  8532.  
  8533.         <xsl:variable name="year">
  8534.             <xsl:call-template name="handleSpaces">
  8535.                 <xsl:with-param name="field" select="b:Year"/>
  8536.             </xsl:call-template>
  8537.         </xsl:variable>
  8538.  
  8539.         <xsl:variable name="month">
  8540.             <xsl:call-template name="handleSpaces">
  8541.                 <xsl:with-param name="field" select="b:Month"/>
  8542.             </xsl:call-template>
  8543.         </xsl:variable>
  8544.             
  8545.         <xsl:variable name="monthYear">
  8546.             <xsl:value-of select="$month" />
  8547.             <xsl:if test="string-length($month) > 0 and string-length($year) > 0">
  8548.                 <xsl:call-template name="templ_prop_Space"/>
  8549.             </xsl:if>
  8550.             <xsl:value-of select="$year" />
  8551.         </xsl:variable>            
  8552.  
  8553.  
  8554.         <xsl:variable name="pages">
  8555.             <xsl:call-template name="handleSpaces">
  8556.                 <xsl:with-param name="field" select="b:Pages"/>
  8557.             </xsl:call-template>
  8558.         </xsl:variable>
  8559.  
  8560.         <xsl:variable name="temp">
  8561.         
  8562.             <xsl:if test="string-length(b:Publisher)>0">
  8563.                 <xsl:if test="string-length(b:JournalName)>0">
  8564.                     <xsl:call-template name="templ_prop_Space"/>
  8565.                 </xsl:if>
  8566.                 <xsl:call-template name="templ_prop_OpenBracket"/>
  8567.                 <xsl:value-of select="b:Publisher"/>
  8568.                 <xsl:call-template name="templ_prop_CloseBracket"/>
  8569.             </xsl:if>
  8570.  
  8571.             <xsl:if test="string-length($volume)>0">
  8572.                 <xsl:if test="string-length(b:JournalName)>0 or string-length(b:Publisher)>0">
  8573.                     <xsl:call-template name="templ_prop_Space"/>
  8574.                 </xsl:if>
  8575.                 <xsl:value-of select="$volume"/>
  8576.             </xsl:if>
  8577.  
  8578.             <xsl:if test="((string-length(b:JournalName)>0 or string-length(b:Publisher)>0 or string-length($volume)>0) and string-length($issue)>0) or ((string-length($volume)=0 and string-length($issue)=0) and (string-length(b:JournalName)>0 and string-length($monthYear)>0))">
  8579.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  8580.             </xsl:if>
  8581.             
  8582.             <xsl:variable name="str_NumberShortUnCap">
  8583.                 <xsl:call-template name="templ_str_NumberShortUnCap"/>
  8584.             </xsl:variable>
  8585.  
  8586.             <xsl:if test="string-length($issue)>0">
  8587.                 <xsl:call-template name="StringFormat">
  8588.                       <xsl:with-param name="format" select="$str_NumberShortUnCap"/>
  8589.                       <xsl:with-param name="parameters">
  8590.                           <t:params>
  8591.                               <t:param>
  8592.                                 <xsl:value-of select="$issue"/>
  8593.                             </t:param>
  8594.                           </t:params>
  8595.                       </xsl:with-param>
  8596.                 </xsl:call-template>
  8597.             </xsl:if>
  8598.  
  8599.             <xsl:if test="string-length($monthYear)>0">
  8600.                 <xsl:call-template name="templ_prop_Space"/>
  8601.                 
  8602.                 <xsl:if test="string-length($volume)>0 or string-length($issue)>0">
  8603.                     <xsl:call-template name="templ_prop_OpenBracket"/>
  8604.                 </xsl:if>
  8605.                 
  8606.                 <xsl:value-of select="$monthYear"/>
  8607.  
  8608.                 <xsl:if test="string-length($volume)>0 or string-length($issue)>0">
  8609.                     <xsl:call-template name="templ_prop_CloseBracket"/>
  8610.                 </xsl:if>
  8611.             </xsl:if>
  8612.             
  8613.             <xsl:if test="(string-length($volume)>0 or string-length($issue)>0 or string-length($monthYear)>0) and (string-length($pages)>0)">
  8614.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  8615.             </xsl:if>
  8616.  
  8617.             <xsl:if test="string-length($pages)>0">
  8618.                 <xsl:if test="(string-length(b:JournalName)>0 or string-length(b:Publisher)>0)and not((string-length($volume)>0 or string-length($issue)>0 or string-length($monthYear)>0))">
  8619.                     <xsl:call-template name="templ_prop_Space"/>
  8620.                 </xsl:if>
  8621.                 <xsl:value-of select="$pages"/>
  8622.             </xsl:if>
  8623.         </xsl:variable>
  8624.         
  8625.         <xsl:call-template name="appendField_Dot">
  8626.             <xsl:with-param name="field" select="$temp"/>
  8627.         </xsl:call-template>
  8628.         
  8629.         
  8630.     </xsl:template>
  8631.         
  8632.  
  8633.  
  8634.  
  8635.     <xsl:template name="templateJVIDP">
  8636.  
  8637.  
  8638.         <xsl:variable name="journalName">
  8639.             <xsl:call-template name="handleSpaces">
  8640.                 <xsl:with-param name="field" select="b:JournalName"/>
  8641.             </xsl:call-template>
  8642.         </xsl:variable>
  8643.  
  8644.         <xsl:variable name="volume">
  8645.             <xsl:call-template name="handleSpaces">
  8646.                 <xsl:with-param name="field" select="b:Volume"/>
  8647.             </xsl:call-template>
  8648.         </xsl:variable>
  8649.  
  8650.         <xsl:variable name="issue">
  8651.             <xsl:call-template name="handleSpaces">
  8652.                 <xsl:with-param name="field" select="b:Issue"/>
  8653.             </xsl:call-template>
  8654.         </xsl:variable>
  8655.  
  8656.         <xsl:variable name="date">
  8657.             <xsl:call-template name="formatDate"/>
  8658.         </xsl:variable>
  8659.  
  8660.         <xsl:variable name="year">
  8661.             <xsl:call-template name="handleSpaces">
  8662.                 <xsl:with-param name="field" select="b:Year"/>
  8663.             </xsl:call-template>
  8664.         </xsl:variable>
  8665.  
  8666.         <xsl:variable name="pages">
  8667.             <xsl:call-template name="handleSpaces">
  8668.                 <xsl:with-param name="field" select="b:Pages"/>
  8669.             </xsl:call-template>
  8670.         </xsl:variable>
  8671.  
  8672.  
  8673.  
  8674.         <xsl:variable name="temp">
  8675.             <xsl:if test="string-length($journalName)>0">
  8676.                 <xsl:call-template name = "ApplyItalicTitleNS">
  8677.                  <xsl:with-param name = "data">
  8678.                 <xsl:value-of select="$journalName"/>
  8679.                </xsl:with-param>
  8680.               </xsl:call-template>
  8681.             </xsl:if>
  8682.  
  8683.             <xsl:if test="string-length($journalName)>0 and (string-length($volume)>0 or string-length($issue)>0 or string-length($year)>0 or string-length($date)>0)">
  8684.                 <xsl:call-template name="templ_prop_Space"/>
  8685.             </xsl:if>
  8686.             
  8687.             <xsl:if test="string-length($volume)>0">
  8688.                 <xsl:value-of select="$volume"/>
  8689.             </xsl:if>
  8690.  
  8691.             <xsl:if test="string-length($volume)>0 and string-length($issue)>0">
  8692.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  8693.             </xsl:if>
  8694.  
  8695.             <xsl:variable name="str_NumberShortUnCap">
  8696.                 <xsl:call-template name="templ_str_NumberShortUnCap"/>
  8697.             </xsl:variable>
  8698.  
  8699.             <xsl:if test="string-length($issue)>0">
  8700.                 <xsl:call-template name="StringFormat">
  8701.                       <xsl:with-param name="format" select="$str_NumberShortUnCap"/>
  8702.                       <xsl:with-param name="parameters">
  8703.                           <t:params>
  8704.                               <t:param>
  8705.                                 <xsl:value-of select="$issue"/>
  8706.                             </t:param>
  8707.                           </t:params>
  8708.                       </xsl:with-param>
  8709.                 </xsl:call-template>
  8710.             </xsl:if>
  8711.  
  8712.             <xsl:if test="(string-length($volume)>0 or string-length($issue)>0) and (string-length($year)>0 or string-length($date)>0)">
  8713.                 <xsl:call-template name="templ_prop_Space"/>
  8714.             </xsl:if>
  8715.  
  8716.  
  8717.             <xsl:if test="string-length($date)>0 or string-length($year)>0">
  8718.                 <xsl:call-template name="templ_prop_OpenBracket"/>
  8719.                 <xsl:if test="string-length($date)>0">
  8720.                     <xsl:value-of select="$date"/>
  8721.                 </xsl:if>
  8722.  
  8723.                 <xsl:if test="string-length($date)=0 and string-length($year)>0">
  8724.                     <xsl:value-of select="$year"/>
  8725.                 </xsl:if>
  8726.                 <xsl:call-template name="templ_prop_CloseBracket"/>
  8727.             </xsl:if>
  8728.  
  8729.             <xsl:if test="(string-length($journalName)>0 or string-length($volume)>0 or string-length($issue)>0 or string-length($year)>0 or string-length($date)>0) and string-length($pages)>0">
  8730.                 <xsl:call-template name="templ_prop_EnumSeparator"/>
  8731.             </xsl:if>
  8732.  
  8733.             <xsl:if test="string-length($pages)>0">
  8734.                 <xsl:value-of select="$pages"/>
  8735.             </xsl:if>
  8736.         
  8737.         </xsl:variable>
  8738.  
  8739.         <xsl:apply-templates select="msxsl:node-set($temp)" mode="outputHtml"/>
  8740.  
  8741.         <xsl:variable name="tempDot">
  8742.             <xsl:call-template name="appendField_Dot">
  8743.                 <xsl:with-param name="field" select="$temp"/>
  8744.             </xsl:call-template>
  8745.         </xsl:variable>
  8746.         
  8747.         <xsl:if test="string-length($tempDot) > string-length($temp)">
  8748.             <xsl:call-template name="templ_prop_Dot"/>
  8749.         </xsl:if>
  8750.  
  8751.     </xsl:template>
  8752.  
  8753.  
  8754.  
  8755.     <xsl:template match="*" mode="outputHtml">
  8756.         <xsl:element name="{name()}" namespace="{namespace-uri()}">
  8757.             <xsl:for-each select="@*">
  8758.                 <xsl:attribute name="{name()}" namespace="{namespace-uri()}">
  8759.                     <xsl:value-of select="." />
  8760.                 </xsl:attribute>
  8761.             </xsl:for-each>
  8762.             <xsl:apply-templates mode="outputHtml"/>        
  8763.         </xsl:element>
  8764.     </xsl:template>
  8765.  
  8766.     
  8767.     <xsl:template name="templateVI">
  8768.  
  8769.         <xsl:variable name="volume">
  8770.             <xsl:call-template name="handleSpaces">
  8771.                 <xsl:with-param name="field" select="b:Volume"/>
  8772.             </xsl:call-template>
  8773.         </xsl:variable>
  8774.  
  8775.         <xsl:variable name="issue">
  8776.             <xsl:call-template name="handleSpaces">
  8777.                 <xsl:with-param name="field" select="b:Issue"/>
  8778.             </xsl:call-template>
  8779.         </xsl:variable>
  8780.     
  8781.         <xsl:variable name="prop_APA_Hyphens">
  8782.           <xsl:call-template name="templ_prop_Hyphens"/>
  8783.         </xsl:variable>
  8784.         
  8785.             <xsl:variable name="theVolume">
  8786.             <xsl:if test="string-length($volume)>0">
  8787.                 <xsl:call-template name="StringFormat">
  8788.                     <xsl:with-param name="format">
  8789.                       <xsl:choose>
  8790.                         <xsl:when test="not(string-length($volume)=string-length(translate($volume, ',', '')))">
  8791.                           <xsl:call-template name="templ_str_VolumesShortCap"/>
  8792.                         </xsl:when>
  8793.                         <xsl:when test="string-length($volume)=string-length(translate($volume, $prop_APA_Hyphens, ''))">
  8794.                           <xsl:call-template name="templ_str_VolumeShortCap"/>
  8795.                         </xsl:when>
  8796.                         <xsl:otherwise>
  8797.                           <xsl:call-template name="templ_str_VolumesShortCap"/>
  8798.                         </xsl:otherwise>
  8799.                       </xsl:choose>
  8800.                     </xsl:with-param>
  8801.                     <xsl:with-param name="parameters">
  8802.                         <t:params>
  8803.                             <t:param>
  8804.                                 <xsl:value-of select="$volume"/>
  8805.                             </t:param>
  8806.                         </t:params>
  8807.                     </xsl:with-param>
  8808.                 </xsl:call-template>    
  8809.             </xsl:if>
  8810.         </xsl:variable>
  8811.  
  8812.     <xsl:variable name="str_NumberShortUnCap">
  8813.       <xsl:call-template name="templ_str_NumberShortUnCap"/>
  8814.     </xsl:variable>
  8815.     <xsl:variable name="str_NumberShortCap">
  8816.       <xsl:call-template name="templ_str_NumberShortCap"/>
  8817.     </xsl:variable>
  8818.  
  8819.     <xsl:variable name="theIssue">
  8820.             <xsl:if test="string-length($issue)>0">
  8821.                 <xsl:if test="string-length($volume)>0">
  8822.                     <xsl:call-template name="StringFormat">
  8823.                           <xsl:with-param name="format" select="$str_NumberShortUnCap"/>
  8824.                           <xsl:with-param name="parameters">
  8825.                               <t:params>
  8826.                                   <t:param>
  8827.                                     <xsl:value-of select="$issue"/>
  8828.                                 </t:param>
  8829.                               </t:params>
  8830.                           </xsl:with-param>
  8831.                     </xsl:call-template>
  8832.                 </xsl:if>
  8833.                 <xsl:if test="string-length($volume)=0">
  8834.                     <xsl:call-template name="StringFormat">
  8835.                           <xsl:with-param name="format" select="$str_NumberShortCap"/>
  8836.                           <xsl:with-param name="parameters">
  8837.                               <t:params>
  8838.                                   <t:param>
  8839.                                     <xsl:value-of select="$issue"/>
  8840.                                 </t:param>
  8841.                               </t:params>
  8842.                           </xsl:with-param>
  8843.                     </xsl:call-template>
  8844.                 </xsl:if>
  8845.             </xsl:if>
  8846.         </xsl:variable>
  8847.  
  8848.  
  8849.         <xsl:call-template name="templateB">
  8850.             <xsl:with-param name="first" select="$theVolume"/>
  8851.             <xsl:with-param name="second" select="$theIssue"/>
  8852.         </xsl:call-template>        
  8853.     </xsl:template>
  8854.     
  8855.  
  8856.     <xsl:template name="templateCDMY">
  8857.  
  8858.         <xsl:variable name="date">
  8859.             <xsl:call-template name="formatDate"/>
  8860.         </xsl:variable>
  8861.  
  8862.         <xsl:call-template name="templateC">
  8863.             <xsl:with-param name="first" select="b:City"/>
  8864.             <xsl:with-param name="second" select="$date"/>
  8865.         </xsl:call-template>        
  8866.     </xsl:template>
  8867.  
  8868.     <xsl:template name="templateCPDMY">
  8869.  
  8870.         <xsl:variable name="date">
  8871.             <xsl:call-template name="formatDate"/>
  8872.         </xsl:variable>
  8873.  
  8874.         <xsl:variable name = "temp">
  8875.             <xsl:call-template name="templateA">
  8876.                 <xsl:with-param name="first">
  8877.                     <xsl:call-template name="templateCityStateProvince" />
  8878.                 </xsl:with-param>
  8879.                 <xsl:with-param name="second" select="b:Publisher"/>
  8880.                 <xsl:with-param name="third">
  8881.                     <xsl:if test = "string-length($date) > 0">
  8882.                         <xsl:call-template name="templ_prop_OpenBracket"/>
  8883.                         <xsl:value-of select="$date"/>
  8884.                         <xsl:call-template name="templ_prop_CloseBracket"/>
  8885.                     </xsl:if>
  8886.  
  8887.                     <xsl:if test = "string-length(b:Pages) > 0 and string-length($date) > 0">
  8888.                         <xsl:call-template name="templ_prop_EnumSeparator"/>
  8889.                         <xsl:value-of select="b:Pages"/>
  8890.                     </xsl:if>
  8891.                 </xsl:with-param>
  8892.             </xsl:call-template>    
  8893.         </xsl:variable>
  8894.  
  8895.         <xsl:if test = "string-length($temp) > 0">
  8896.             <xsl:value-of select="$temp"/>
  8897.         </xsl:if>
  8898.         
  8899.         <xsl:if test = "string-length(b:Pages) > 0 and string-length($date) = 0">
  8900.             <xsl:if test = "string-length($temp) > 0">
  8901.                 <xsl:call-template name="templ_prop_Space"/>
  8902.             </xsl:if>
  8903.  
  8904.             <xsl:call-template name="appendField_Dot">
  8905.                 <xsl:with-param name="field" select="b:Pages"/>
  8906.             </xsl:call-template>
  8907.         </xsl:if>
  8908.     </xsl:template>
  8909.  
  8910.     <xsl:template name="templateDACURL">
  8911.  
  8912.         <xsl:variable name="date">
  8913.             <xsl:call-template name="formatDateAccessed"/>
  8914.         </xsl:variable>
  8915.  
  8916.         <xsl:if test = "string-length(b:URL) > 0">
  8917.             <xsl:value-of select="b:URL"/>
  8918.         </xsl:if>
  8919.         
  8920.         <xsl:if test = "string-length(b:URL) > 0 and string-length($date) > 0">
  8921.             <xsl:call-template name="templ_prop_Space"/>
  8922.         </xsl:if>
  8923.  
  8924.         <xsl:if test = "string-length($date) > 0">
  8925.             <xsl:call-template name="templ_prop_OpenBracket"/>
  8926.             <xsl:call-template name="StringFormat">
  8927.                 <xsl:with-param name="format">
  8928.                     <xsl:call-template name="templ_str_AccessedUnCap"/>
  8929.                 </xsl:with-param>
  8930.                 <xsl:with-param name="parameters">
  8931.                     <t:params>
  8932.                         <t:param>
  8933.                             <xsl:value-of select="$date"/>
  8934.                         </t:param>
  8935.                     </t:params>
  8936.                 </xsl:with-param>
  8937.             </xsl:call-template>
  8938.             <xsl:call-template name="templ_prop_CloseBracket"/>
  8939.         </xsl:if>
  8940.     </xsl:template>
  8941.  
  8942.     <xsl:template name="templateTV">
  8943.     
  8944.         <xsl:variable name="volume">
  8945.             <xsl:call-template name="handleSpaces">
  8946.                 <xsl:with-param name="field" select="b:Volume"/>
  8947.             </xsl:call-template>
  8948.         </xsl:variable>
  8949.     
  8950.         <xsl:variable name="theVolume">
  8951.             <xsl:if test="string-length($volume)>0">
  8952.                 <xsl:call-template name="StringFormat">
  8953.                     <xsl:with-param name="format">
  8954.                         <xsl:call-template name="templ_str_VolumeCap"/>
  8955.                     </xsl:with-param>
  8956.                     <xsl:with-param name="parameters">
  8957.                         <t:params>
  8958.                             <t:param>
  8959.                                 <xsl:value-of select="$volume"/>
  8960.                             </t:param>
  8961.                         </t:params>
  8962.                     </xsl:with-param>
  8963.                 </xsl:call-template>            
  8964.             </xsl:if>
  8965.         </xsl:variable>
  8966.     
  8967.         <xsl:call-template name="templateH">
  8968.             <xsl:with-param name="first" select="b:Title"/>
  8969.             <xsl:with-param name="second" select="$theVolume"/>
  8970.         </xsl:call-template>        
  8971.     </xsl:template>
  8972.  
  8973.     <xsl:template name="templateJ">
  8974.         <xsl:param name="first"/>
  8975.         <xsl:param name="second"/>
  8976.         <xsl:param name="third"/>
  8977.         
  8978.         <xsl:variable name="tempFirst">
  8979.             <xsl:call-template name="handleSpaces">
  8980.                 <xsl:with-param name="field" select="$first"/>
  8981.             </xsl:call-template>
  8982.         </xsl:variable>
  8983.         
  8984.         <xsl:variable name="tempSecond">
  8985.             <xsl:call-template name="handleSpaces">
  8986.                 <xsl:with-param name="field" select="$second"/>
  8987.             </xsl:call-template>
  8988.         </xsl:variable>
  8989.  
  8990.         <xsl:variable name="tempThird">
  8991.             <xsl:call-template name="handleSpaces">
  8992.                 <xsl:with-param name="field" select="$third"/>
  8993.             </xsl:call-template>
  8994.         </xsl:variable>
  8995.  
  8996.         <xsl:variable name="temp">
  8997.             <xsl:if test="string-length($tempFirst)>0">
  8998.                 <xsl:value-of select="$tempFirst"/>
  8999.             </xsl:if>
  9000.  
  9001.             <xsl:if test="string-length($tempFirst)>0 and string-length($tempSecond)>0">
  9002.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  9003.             </xsl:if>
  9004.  
  9005.             <xsl:if test="string-length($tempSecond)>0">
  9006.                 <xsl:value-of select="$tempSecond"/>
  9007.             </xsl:if>
  9008.  
  9009.             <xsl:if test="(string-length($tempFirst)>0 or string-length($tempSecond)>0) and string-length($tempThird)>0">
  9010.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  9011.             </xsl:if>
  9012.  
  9013.             <xsl:if test="string-length($tempThird)>0">
  9014.                 <xsl:value-of select="$tempThird"/>
  9015.             </xsl:if>
  9016.         </xsl:variable>
  9017.  
  9018.         <xsl:call-template name="appendFieldNoHandleSpaces_Dot">
  9019.             <xsl:with-param name="field" select="$temp"/>
  9020.         </xsl:call-template>        
  9021.     </xsl:template>
  9022.  
  9023.     <xsl:template name="templateRIY">
  9024.         <xsl:call-template name="templateJ">
  9025.             <xsl:with-param name="first" select="b:ThesisType"/>
  9026.             <xsl:with-param name="second" select="b:Institution"/>
  9027.             <xsl:with-param name="third" select="b:Year"/>
  9028.         </xsl:call-template>        
  9029.     </xsl:template>
  9030.  
  9031.     <xsl:template name="templateRICPY">
  9032.         <xsl:variable name="tempCPY">
  9033.             <xsl:call-template name="templateCPYNoDot"/>
  9034.         </xsl:variable>
  9035.  
  9036.         <xsl:call-template name='PrintList'>
  9037.             <xsl:with-param name="list">
  9038.                 <Items>
  9039.                     <TextItem>
  9040.                         <xsl:value-of select ="b:ThesisType"/>
  9041.                     </TextItem>
  9042.                     <TextItem>
  9043.                         <xsl:value-of select ="b:Department"/>
  9044.                     </TextItem>
  9045.                     <TextItem>
  9046.                         <xsl:value-of select ="b:Institution"/>
  9047.                     </TextItem>
  9048.                     <TextItem>
  9049.                         <xsl:value-of select ="$tempCPY"/>
  9050.                     </TextItem>
  9051.                     <TextItem>
  9052.                         <xsl:value-of select ="b:Pages"/>
  9053.                     </TextItem>
  9054.                 </Items>
  9055.             </xsl:with-param>
  9056.         </xsl:call-template>
  9057.     
  9058.     </xsl:template>
  9059.     
  9060.  
  9061.     <xsl:template name="templatePDMYEP">
  9062.         <xsl:variable name="date">
  9063.             <xsl:call-template name="formatDate"/>
  9064.         </xsl:variable>
  9065.  
  9066.         <xsl:variable name="edition">
  9067.             <xsl:call-template name="handleSpaces">
  9068.                 <xsl:with-param name="field" select="b:Edition"/>
  9069.             </xsl:call-template>
  9070.         </xsl:variable>
  9071.     
  9072.         <xsl:variable name="theEdition">
  9073.             <xsl:if test="string-length($edition)>0">
  9074.                 <xsl:call-template name="StringFormat">
  9075.                       <xsl:with-param name="format">
  9076.                         <xsl:call-template name="templ_str_EditionUnCap"/>
  9077.                       </xsl:with-param>
  9078.                       <xsl:with-param name="parameters">
  9079.                           <t:params>
  9080.                               <t:param>
  9081.                                 <xsl:value-of select="$edition"/>
  9082.                             </t:param>
  9083.                           </t:params>
  9084.                       </xsl:with-param>
  9085.                 </xsl:call-template>
  9086.             </xsl:if>
  9087.         </xsl:variable>
  9088.  
  9089.         <xsl:variable name="temp">
  9090.             <xsl:call-template name="templateJ">
  9091.                 <xsl:with-param name="first" select="$date"/>
  9092.                 <xsl:with-param name="second" select="$theEdition"/>
  9093.                 <xsl:with-param name="third" select="b:Pages"/>
  9094.             </xsl:call-template>        
  9095.         </xsl:variable>
  9096.         
  9097.         <xsl:call-template name="templateH">
  9098.             <xsl:with-param name="first" select="b:PeriodicalTitle"/>
  9099.             <xsl:with-param name="second" select="$temp"/>
  9100.         </xsl:call-template>        
  9101.         
  9102.         
  9103.     </xsl:template>
  9104.  
  9105.     <xsl:template name="templatePR">
  9106.  
  9107.         <xsl:variable name="producerName">
  9108.             <xsl:call-template name="formatProducerName"/>
  9109.         </xsl:variable>
  9110.  
  9111.         <xsl:variable name="productionCompany">
  9112.             <xsl:call-template name="handleSpaces">
  9113.                 <xsl:with-param name="field" select="b:ProductionCompany"/>
  9114.             </xsl:call-template>
  9115.         </xsl:variable>
  9116.  
  9117.  
  9118.         <xsl:variable name="prod">
  9119.             <xsl:if test="string-length($producerName)>0">
  9120.                 <xsl:value-of select="$producerName"/>
  9121.             </xsl:if>
  9122.  
  9123.             <xsl:if test="string-length($producerName)=0 and string-length($productionCompany)">
  9124.                 <xsl:value-of select="$productionCompany"/>
  9125.             </xsl:if>
  9126.         </xsl:variable>
  9127.  
  9128.         <xsl:call-template name="templateC">
  9129.             <xsl:with-param name="first" select="$prod"/>
  9130.             <xsl:with-param name="second" select="b:RecordingNumber"/>
  9131.         </xsl:call-template>        
  9132.     </xsl:template>
  9133.     
  9134.     <xsl:template name="templateTVRC">
  9135.  
  9136.         <xsl:variable name="volume">
  9137.             <xsl:call-template name="handleSpaces">
  9138.                 <xsl:with-param name="field" select="b:Volume"/>
  9139.             </xsl:call-template>
  9140.         </xsl:variable>
  9141.     
  9142.         <xsl:variable name="reporterName">
  9143.             <xsl:value-of select="b:Reporter"/>
  9144.         </xsl:variable>
  9145.     
  9146.         <xsl:variable name="caseNumber">
  9147.             <xsl:call-template name="handleSpaces">
  9148.                 <xsl:with-param name="field" select="b:CaseNumber"/>
  9149.             </xsl:call-template>
  9150.         </xsl:variable>
  9151.     
  9152.     <xsl:variable name="str_NumberShortCap">
  9153.       <xsl:call-template name="templ_str_NumberShortCap"/>
  9154.     </xsl:variable>
  9155.  
  9156.     <xsl:variable name="theCaseNumber">
  9157.             <xsl:if test="string-length($caseNumber)>0">
  9158.                 <xsl:call-template name="StringFormat">
  9159.                       <xsl:with-param name="format" select="$str_NumberShortCap"/>
  9160.                       <xsl:with-param name="parameters">
  9161.                           <t:params>
  9162.                               <t:param>
  9163.                                 <xsl:value-of select="$caseNumber"/>
  9164.                             </t:param>
  9165.                           </t:params>
  9166.                       </xsl:with-param>
  9167.                 </xsl:call-template>
  9168.             </xsl:if>
  9169.         </xsl:variable>
  9170.  
  9171.         <xsl:variable name="temp">
  9172.             <xsl:call-template name="templateJ">
  9173.                 <xsl:with-param name="first" select="$volume"/>
  9174.                 <xsl:with-param name="second" select="$reporterName"/>
  9175.                 <xsl:with-param name="third" select="$theCaseNumber"/>
  9176.             </xsl:call-template>        
  9177.         </xsl:variable>
  9178.         
  9179.         <xsl:call-template name="templateH">
  9180.             <xsl:with-param name="first" select="b:Title"/>
  9181.             <xsl:with-param name="second" select="$temp"/>
  9182.         </xsl:call-template>        
  9183.         
  9184.         
  9185.     </xsl:template>
  9186.     
  9187.     <xsl:template name="templateCPMDY">
  9188.     
  9189.         <xsl:variable name="date">
  9190.             <xsl:call-template name="formatDate"/>
  9191.         </xsl:variable>
  9192.  
  9193.         <xsl:variable name="countryRegion">
  9194.             <xsl:call-template name="handleSpaces">
  9195.                 <xsl:with-param name="field" select="b:CountryRegion"/>
  9196.             </xsl:call-template>
  9197.         </xsl:variable>
  9198.  
  9199.         <xsl:variable name="patentNumber">
  9200.             <xsl:call-template name="handleSpaces">
  9201.                 <xsl:with-param name="field" select="b:PatentNumber"/>
  9202.             </xsl:call-template>
  9203.         </xsl:variable>
  9204.  
  9205.     <xsl:variable name="str_PatentFiledCap">
  9206.       <xsl:call-template name="templ_str_PatentFiledCap"/>
  9207.     </xsl:variable>
  9208.  
  9209.     <xsl:variable name="str_PatentCap">
  9210.       <xsl:call-template name="templ_str_PatentCap"/>
  9211.     </xsl:variable>
  9212.  
  9213.     <xsl:variable name="str_FiledCap">
  9214.       <xsl:call-template name="templ_str_FiledCap"/>
  9215.     </xsl:variable>
  9216.  
  9217.     <xsl:variable name="thePatentNumberFiledDate">
  9218.             <xsl:choose>
  9219.                 <xsl:when test="string-length($patentNumber)>0 and string-length($date)>0">
  9220.                     <xsl:call-template name="StringFormat">
  9221.                           <xsl:with-param name="format" select="$str_PatentFiledCap"/>
  9222.                         
  9223.                           <xsl:with-param name="parameters">
  9224.                               <t:params>
  9225.                                   <t:param>
  9226.                                       <xsl:value-of select="$patentNumber"/>
  9227.                                 </t:param>
  9228.                                   <t:param>
  9229.                                       <xsl:value-of select="$date"/>
  9230.                                 </t:param>
  9231.                               </t:params>
  9232.                           </xsl:with-param>
  9233.                     </xsl:call-template>
  9234.                 </xsl:when>
  9235.                 <xsl:when test="string-length($patentNumber)>0 and string-length($date)=0">
  9236.                     <xsl:call-template name="StringFormat">
  9237.                           <xsl:with-param name="format" select="$str_PatentCap"/>
  9238.                         
  9239.                           <xsl:with-param name="parameters">
  9240.                               <t:params>
  9241.                                   <t:param>
  9242.                                       <xsl:value-of select="$patentNumber"/>
  9243.                                 </t:param>
  9244.                               </t:params>
  9245.                           </xsl:with-param>
  9246.                     </xsl:call-template>
  9247.                 </xsl:when>
  9248.                 <xsl:when test="string-length($patentNumber)=0 and string-length($date)>0">
  9249.                     <xsl:call-template name="StringFormat">
  9250.                           <xsl:with-param name="format" select="$str_FiledCap"/>
  9251.                         
  9252.                           <xsl:with-param name="parameters">
  9253.                               <t:params>
  9254.                                   <t:param>
  9255.                                       <xsl:value-of select="$date"/>
  9256.                                 </t:param>
  9257.                               </t:params>
  9258.                           </xsl:with-param>
  9259.                     </xsl:call-template>
  9260.                 </xsl:when>
  9261.             </xsl:choose>
  9262.         </xsl:variable>
  9263.     
  9264.         <xsl:call-template name="templateAsB">
  9265.             <xsl:with-param name="first" select="$countryRegion"/>
  9266.             <xsl:with-param name="second" select="$thePatentNumberFiledDate"/>
  9267.         </xsl:call-template>        
  9268.     
  9269.     </xsl:template>
  9270.     
  9271.  
  9272.  
  9273.     <xsl:template name="formatNameCore">
  9274.         <xsl:param name="FML"/>
  9275.         <xsl:param name="FM"/>
  9276.         <xsl:param name="ML"/>
  9277.         <xsl:param name="FL"/>
  9278.         <xsl:param name="upperLast"/>
  9279.         <xsl:param name="withDot"/>
  9280.  
  9281.         <xsl:variable name="first">
  9282.             <xsl:call-template name="handleSpaces">
  9283.                 <xsl:with-param name="field" select="b:First"/>
  9284.             </xsl:call-template>
  9285.         </xsl:variable>
  9286.  
  9287.         <xsl:variable name="middle">
  9288.             <xsl:call-template name="handleSpaces">
  9289.                 <xsl:with-param name="field" select="b:Middle"/>
  9290.             </xsl:call-template>
  9291.         </xsl:variable>
  9292.  
  9293.         <xsl:variable name="last">
  9294.             <xsl:call-template name="handleSpaces">
  9295.                 <xsl:with-param name="field" select="b:Last"/>
  9296.             </xsl:call-template>
  9297.         </xsl:variable>
  9298.         
  9299.         <xsl:variable name="format">
  9300.             <xsl:choose>
  9301.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  9302.                 </xsl:when>
  9303.                 <xsl:when test="string-length($first) = 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  9304.                     <xsl:call-template name="templ_prop_SimpleAuthor_L" />
  9305.                 </xsl:when>
  9306.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  9307.           <xsl:call-template name="templ_prop_SimpleAuthor_M" />
  9308.                 </xsl:when>
  9309.                 <xsl:when test="string-length($first) = 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  9310.                     <xsl:value-of select="$ML"/>
  9311.                 </xsl:when>
  9312.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) = 0 ">
  9313.                     <xsl:call-template name="templ_prop_SimpleAuthor_F" />
  9314.                 </xsl:when>
  9315.                 <xsl:when test="string-length($first) != 0 and string-length($middle) = 0 and string-length($last) != 0 ">
  9316.                     <xsl:value-of select="$FL"/>
  9317.                 </xsl:when>
  9318.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) = 0 ">
  9319.                     <xsl:value-of select="$FM"/>
  9320.                 </xsl:when>
  9321.                 <xsl:when test="string-length($first) != 0 and string-length($middle) != 0 and string-length($last) != 0 ">
  9322.                     <xsl:value-of select="$FML"/>
  9323.                 </xsl:when>
  9324.             </xsl:choose>
  9325.         </xsl:variable>
  9326.         
  9327.         <xsl:call-template name="StringFormatName">
  9328.             <xsl:with-param name="format" select="$format"/>
  9329.             <xsl:with-param name="upperLast" select="$upperLast"/>
  9330.             <xsl:with-param name="withDot" select="$withDot"/>
  9331.         </xsl:call-template>
  9332.         
  9333.     </xsl:template>
  9334.  
  9335.     <xsl:template name="formatDateCorePrivate">
  9336.         <xsl:param name="DMY"/>
  9337.         <xsl:param name="DM"/>
  9338.         <xsl:param name="MY"/>
  9339.         <xsl:param name="DY"/>
  9340.  
  9341.         <xsl:param name="day"/>
  9342.         <xsl:param name="month"/>
  9343.         <xsl:param name="year"/>
  9344.         
  9345.         <xsl:param name="withDot"/>
  9346.         
  9347.         <xsl:variable name="format">
  9348.             <xsl:choose>
  9349.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) = 0 ">
  9350.                 </xsl:when>
  9351.                 <xsl:when test="string-length($day) = 0 and string-length($month) = 0 and string-length($year) != 0 ">
  9352.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  9353.                 </xsl:when>
  9354.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) = 0 ">
  9355.                 </xsl:when>
  9356.                 <xsl:when test="string-length($day) = 0 and string-length($month) != 0 and string-length($year) != 0 ">
  9357.                     <xsl:value-of select="$MY"/>
  9358.                 </xsl:when>
  9359.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) = 0 ">
  9360.                 </xsl:when>
  9361.                 <xsl:when test="string-length($day) != 0 and string-length($month) = 0 and string-length($year) != 0 ">
  9362.                     <xsl:call-template name="templ_prop_SimpleDate_Y" />
  9363.                 </xsl:when>
  9364.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) = 0 ">
  9365.                 </xsl:when>
  9366.                 <xsl:when test="string-length($day) != 0 and string-length($month) != 0 and string-length($year) != 0 ">
  9367.                     <xsl:value-of select="$DMY"/>
  9368.                 </xsl:when>
  9369.             </xsl:choose>
  9370.         </xsl:variable>
  9371.         
  9372.         <xsl:call-template name="StringFormatDate">
  9373.             <xsl:with-param name="format" select="$format"/>
  9374.  
  9375.             <xsl:with-param name="day" select="$day"/>
  9376.             <xsl:with-param name="month" select="$month"/>
  9377.             <xsl:with-param name="year" select="$year"/>
  9378.  
  9379.             <xsl:with-param name="withDot" select="$withDot"/>
  9380.         </xsl:call-template>
  9381.         
  9382.     </xsl:template>
  9383.  
  9384.     <xsl:template name="StringFormatName">
  9385.         <xsl:param name="format" />
  9386.         <xsl:param name="withDot" />
  9387.         <xsl:param name="upperLast"/>
  9388.  
  9389.     <xsl:variable name="prop_EndChars">
  9390.       <xsl:call-template name="templ_prop_EndChars"/>
  9391.     </xsl:variable>
  9392.  
  9393.     <xsl:choose>
  9394.             <xsl:when test="$format = ''"></xsl:when>
  9395.             <xsl:when test="substring($format, 1, 2) = '%%'">
  9396.                 <xsl:text>%</xsl:text>
  9397.                 <xsl:call-template name="StringFormatName">
  9398.                     <xsl:with-param name="format" select="substring($format, 3)" />
  9399.                     <xsl:with-param name="withDot" select="$withDot" />
  9400.                     <xsl:with-param name="upperLast" select="$upperLast" />
  9401.                 </xsl:call-template>
  9402.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  9403.                     <xsl:call-template name="templ_prop_Dot"/>
  9404.                 </xsl:if>
  9405.             </xsl:when>
  9406.             <xsl:when test="substring($format, 1, 1) = '%'">
  9407.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  9408.                 
  9409.                 <xsl:choose>
  9410.                     <xsl:when test="(what = 'l' or what = 'L') and upperLast = 'yes'">
  9411.                         <span style='text-transform: uppercase;'>
  9412.                             <xsl:call-template name="formatNameOneItem">
  9413.                                 <xsl:with-param name="format" select="$what"/>
  9414.                             </xsl:call-template>
  9415.                         </span>
  9416.                     </xsl:when>
  9417.                     <xsl:otherwise>
  9418.                         <xsl:call-template name="formatNameOneItem">
  9419.                             <xsl:with-param name="format" select="$what"/>
  9420.                         </xsl:call-template>
  9421.                     </xsl:otherwise>
  9422.                 </xsl:choose>
  9423.                 <xsl:call-template name="StringFormatName">
  9424.                     <xsl:with-param name="format" select="substring($format, 3)" />
  9425.                     <xsl:with-param name="withDot" select="$withDot" />
  9426.                     <xsl:with-param name="upperLast" select="$upperLast" />
  9427.                 </xsl:call-template>
  9428.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  9429.                     <xsl:variable name="temp2">
  9430.                         <xsl:call-template name="handleSpaces">
  9431.                             <xsl:with-param name="field">
  9432.                                 <xsl:call-template name="formatNameOneItem">
  9433.                                     <xsl:with-param name="format" select="$what"/>
  9434.                                 </xsl:call-template>
  9435.                             </xsl:with-param>
  9436.                         </xsl:call-template>
  9437.                     </xsl:variable>                
  9438.                     <xsl:variable name="lastChar">
  9439.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  9440.                     </xsl:variable>
  9441.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  9442.                         <xsl:call-template name="templ_prop_Dot"/>
  9443.                     </xsl:if>
  9444.                 </xsl:if>
  9445.             </xsl:when>
  9446.             <xsl:otherwise>
  9447.                 <xsl:value-of select="substring($format, 1, 1)" />
  9448.                 <xsl:call-template name="StringFormatName">
  9449.                     <xsl:with-param name="format" select="substring($format, 2)" />
  9450.                     <xsl:with-param name="withDot" select="$withDot" />
  9451.                     <xsl:with-param name="upperLast" select="$upperLast" />
  9452.                 </xsl:call-template>
  9453.                 <xsl:if test="string-length($format)=1">
  9454.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  9455.                         <xsl:call-template name="templ_prop_Dot"/>
  9456.                     </xsl:if>
  9457.                 </xsl:if>
  9458.             </xsl:otherwise>
  9459.         </xsl:choose>
  9460.     </xsl:template>    
  9461.  
  9462.     <xsl:template name="StringFormatDate">
  9463.         <xsl:param name="format" />
  9464.         
  9465.         <xsl:param name="day"/>
  9466.         <xsl:param name="month"/>
  9467.         <xsl:param name="year"/>        
  9468.         
  9469.         <xsl:param name="withDot" />
  9470.  
  9471.     <xsl:variable name="prop_EndChars">
  9472.       <xsl:call-template name="templ_prop_EndChars"/>
  9473.     </xsl:variable>
  9474.  
  9475.     <xsl:choose>
  9476.             <xsl:when test="$format = ''"></xsl:when>
  9477.             <xsl:when test="substring($format, 1, 2) = '%%'">
  9478.                 <xsl:text>%</xsl:text>
  9479.                 <xsl:call-template name="StringFormatDate">
  9480.                     <xsl:with-param name="format" select="substring($format, 3)" />
  9481.                     <xsl:with-param name="day" select="$day"/>
  9482.                     <xsl:with-param name="month" select="$month"/>
  9483.                     <xsl:with-param name="year" select="$year"/>
  9484.                     <xsl:with-param name="withDot" select="$withDot" />
  9485.                 </xsl:call-template>
  9486.                 <xsl:if test="string-length($format)=2 and withDot = 'yes' and not(contains($prop_EndChars, '%'))">
  9487.                     <xsl:call-template name="templ_prop_Dot"/>
  9488.                 </xsl:if>
  9489.             </xsl:when>
  9490.             <xsl:when test="substring($format, 1, 1) = '%'">
  9491.                 <xsl:variable name="what" select="substring($format, 2, 1)" />
  9492.                 <xsl:choose>
  9493.                     <xsl:when test="$what = 'D'">
  9494.                         <xsl:value-of select="$day"/>
  9495.                     </xsl:when>
  9496.                     <xsl:when test="$what = 'M'">
  9497.                         <xsl:value-of select="$month"/>
  9498.                     </xsl:when>
  9499.                     <xsl:when test="$what = 'Y'">
  9500.                         <xsl:value-of select="$year"/>
  9501.                     </xsl:when>
  9502.                 </xsl:choose>
  9503.                 <xsl:call-template name="StringFormatDate">
  9504.                     <xsl:with-param name="format" select="substring($format, 3)" />
  9505.                     <xsl:with-param name="day" select="$day"/>
  9506.                     <xsl:with-param name="month" select="$month"/>
  9507.                     <xsl:with-param name="year" select="$year"/>
  9508.                     <xsl:with-param name="withDot" select="$withDot" />
  9509.                 </xsl:call-template>
  9510.                 <xsl:if test="string-length($format)=2 and withDot='yes'">
  9511.                     <xsl:variable name="temp2">
  9512.                         <xsl:call-template name="handleSpaces">
  9513.                             <xsl:with-param name="field">
  9514.                                 <xsl:call-template name="formatNameOneItem">
  9515.                                     <xsl:with-param name="format" select="$what"/>
  9516.                                 </xsl:call-template>
  9517.                             </xsl:with-param>
  9518.                         </xsl:call-template>
  9519.                     </xsl:variable>                
  9520.                     <xsl:variable name="lastChar">
  9521.                         <xsl:value-of select="substring($temp2, string-length($temp2))"/>
  9522.                     </xsl:variable>
  9523.                     <xsl:if test="not(contains($prop_EndChars, $lastChar))">
  9524.                         <xsl:call-template name="templ_prop_Dot"/>
  9525.                     </xsl:if>
  9526.                 </xsl:if>
  9527.             </xsl:when>
  9528.             <xsl:otherwise>
  9529.                 <xsl:value-of select="substring($format, 1, 1)" />
  9530.                 <xsl:call-template name="StringFormatDate">
  9531.                     <xsl:with-param name="format" select="substring($format, 2)" />
  9532.                     <xsl:with-param name="day" select="$day"/>
  9533.                     <xsl:with-param name="month" select="$month"/>
  9534.                     <xsl:with-param name="year" select="$year"/>
  9535.                     <xsl:with-param name="withDot" select="$withDot" />
  9536.                 </xsl:call-template>
  9537.                 <xsl:if test="string-length($format)=1">
  9538.                     <xsl:if test="withDot = 'yes' and not(contains($prop_EndChars, $format))">
  9539.                         <xsl:call-template name="templ_prop_Dot"/>
  9540.                     </xsl:if>
  9541.                 </xsl:if>
  9542.             </xsl:otherwise>
  9543.         </xsl:choose>
  9544.     </xsl:template>    
  9545.     
  9546.     <xsl:template name="formatDateCore">
  9547.         <xsl:param name="day"/>
  9548.         <xsl:param name="month"/>
  9549.         <xsl:param name="year"/>
  9550.         <xsl:param name="displayND"/>
  9551.         
  9552.         <xsl:param name="DMY"/>
  9553.         <xsl:param name="DM"/>
  9554.         <xsl:param name="MY"/>
  9555.         <xsl:param name="DY"/>
  9556.     
  9557.         <xsl:choose>
  9558.             <xsl:when test="string-length($year)=0">
  9559.                 <xsl:if test="$displayND = 'yes'">
  9560.                     <xsl:call-template name="templ_str_NoDateShortUnCap"/>
  9561.                 </xsl:if>
  9562.             </xsl:when>
  9563.             <xsl:otherwise>
  9564.                 <xsl:call-template name="formatDateCorePrivate">
  9565.                     <xsl:with-param name="day" select="$day"/>
  9566.                     <xsl:with-param name="month" select="$month"/>
  9567.                     <xsl:with-param name="year" select="$year"/>
  9568.                     
  9569.                     <xsl:with-param name="DMY" select="$DMY"/>
  9570.                     <xsl:with-param name="DM" select="$DM"/>
  9571.                     <xsl:with-param name="MY" select="$MY"/>
  9572.                     <xsl:with-param name="DY" select="$DY"/>
  9573.                 </xsl:call-template>
  9574.             </xsl:otherwise>
  9575.         </xsl:choose>
  9576.     
  9577.     </xsl:template>
  9578.     
  9579.     <xsl:template name="formatNameOneItem">
  9580.         <xsl:param name="format"/>
  9581.  
  9582.         <xsl:choose>
  9583.             <xsl:when test="$format = 'F'">
  9584.                 <xsl:value-of select="b:First"/>
  9585.             </xsl:when>
  9586.             <xsl:when test="$format = 'L'">
  9587.                 <xsl:value-of select="b:Last"/>
  9588.             </xsl:when>
  9589.             <xsl:when test="$format = 'M'">
  9590.                 <xsl:value-of select="b:Middle"/>
  9591.             </xsl:when>
  9592.             <xsl:when test="$format = 'f'">
  9593.                 <xsl:call-template name="formatNameInitial">
  9594.                     <xsl:with-param name="name" select="b:First"/>
  9595.                 </xsl:call-template>
  9596.             </xsl:when>
  9597.             <xsl:when test="$format = 'm'">
  9598.                 <xsl:call-template name="formatNameInitial">
  9599.                     <xsl:with-param name="name" select="b:Middle"/>
  9600.                 </xsl:call-template>
  9601.             </xsl:when>
  9602.             <xsl:when test="$format = 'l'">
  9603.                 <xsl:call-template name="formatNameInitial">
  9604.                     <xsl:with-param name="name" select="b:Last"/>
  9605.                 </xsl:call-template>
  9606.             </xsl:when>
  9607.         </xsl:choose>
  9608.  
  9609.     </xsl:template>
  9610.     
  9611.     <xsl:template name="formatNameInitial">
  9612.         <xsl:param name="name"/>
  9613.         <xsl:variable name="temp">
  9614.             <xsl:call-template name="handleSpaces">
  9615.                 <xsl:with-param name="field" select="$name"/>
  9616.             </xsl:call-template>
  9617.         </xsl:variable>
  9618.  
  9619.     <xsl:variable name="prop_APA_Hyphens">
  9620.       <xsl:call-template name="templ_prop_Hyphens"/>
  9621.     </xsl:variable>
  9622.  
  9623.     <xsl:if test="string-length($temp)>0">
  9624.  
  9625.             <xsl:variable name="tempWithoutSpaces">
  9626.                 <xsl:value-of select="translate($temp, '  ', '')"/>
  9627.             </xsl:variable>
  9628.  
  9629.             <xsl:if test="not(contains($prop_APA_Hyphens, substring($tempWithoutSpaces, 1, 1)))">
  9630.                 <xsl:value-of select="substring($tempWithoutSpaces, 1, 1)"/>
  9631.                 <xsl:call-template name="templ_prop_DotInitial"/>
  9632.             </xsl:if>
  9633.  
  9634.             <xsl:call-template name="handleHyphens">
  9635.                 <xsl:with-param name="name" select="$tempWithoutSpaces"/>
  9636.             </xsl:call-template>
  9637.         </xsl:if>
  9638.     </xsl:template>
  9639.     
  9640.     <xsl:template name="handleHyphens">
  9641.         <xsl:param name="name"/>
  9642.  
  9643.     <xsl:variable name="prop_APA_Hyphens">
  9644.       <xsl:call-template name="templ_prop_Hyphens"/>
  9645.     </xsl:variable>
  9646.  
  9647.     <xsl:if test="string-length($name)>=2">
  9648.             <xsl:choose>
  9649.                 <xsl:when test="contains($prop_APA_Hyphens, substring($name, 1, 1))">
  9650.                     <xsl:value-of select="substring($name, 1, 2)"/>
  9651.                     <xsl:call-template name="templ_prop_DotInitial"/>
  9652.                     
  9653.                     <xsl:call-template name="handleHyphens">
  9654.                         <xsl:with-param name="name" select="substring($name, 3)"/>
  9655.                     </xsl:call-template>
  9656.                 </xsl:when>
  9657.                 
  9658.                 <xsl:otherwise>
  9659.                     <xsl:call-template name="handleHyphens">
  9660.                         <xsl:with-param name="name" select="substring($name, 2)"/>
  9661.                     </xsl:call-template>
  9662.                 </xsl:otherwise>
  9663.             </xsl:choose>
  9664.             
  9665.         </xsl:if>
  9666.  
  9667.     </xsl:template>
  9668.  
  9669.     <xsl:template name="PrintSpaceAndList">
  9670.         <xsl:param name="list"/>
  9671.  
  9672.         <xsl:variable name="result">
  9673.             <xsl:call-template name="PrintList">
  9674.                 <xsl:with-param name="list" select="$list" />
  9675.             </xsl:call-template>
  9676.         </xsl:variable>
  9677.  
  9678.         <xsl:if test="string-length($result) > 0">
  9679.             <xsl:call-template name="templ_prop_Space" />
  9680.             <xsl:copy-of select="$result" />
  9681.         </xsl:if>
  9682.     </xsl:template>
  9683.  
  9684.     <xsl:template name="PrintList">
  9685.         <xsl:param name="list"/>
  9686.  
  9687.         <xsl:call-template name="PrintList2">
  9688.             <xsl:with-param name="list" select="$list" />
  9689.             <xsl:with-param name="index" select="'1'" />
  9690.             <xsl:with-param name="nextSeparator">
  9691.                 <xsl:call-template name="templ_prop_ListSeparator"/>
  9692.             </xsl:with-param>
  9693.             <xsl:with-param name="textDisplayed" select="''" />
  9694.         </xsl:call-template>
  9695.     </xsl:template>
  9696.  
  9697.     <xsl:template name="PrintList2">
  9698.         <xsl:param name="list"/>
  9699.         <xsl:param name="index"/>
  9700.         <xsl:param name="nextSeparator"/>
  9701.         <xsl:param name="lastTextDisplayed"/>
  9702.  
  9703.         
  9704.  
  9705.         <xsl:choose>
  9706.             <xsl:when test="$index > count(msxsl:node-set($list)/*/*)">
  9707.                 <xsl:call-template name="need_Dot">
  9708.                     <xsl:with-param name="field" select ="$lastTextDisplayed"/>
  9709.                 </xsl:call-template>
  9710.             </xsl:when>
  9711.             <xsl:when test="local-name(msxsl:node-set($list)/*/*[$index]) = 'TextItem'">
  9712.                 <xsl:variable name="item">
  9713.                     <xsl:value-of select="msxsl:node-set($list)/*/*[$index]" />
  9714.                 </xsl:variable>
  9715.  
  9716.                 <xsl:if test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  9717.                     <xsl:value-of select = "$nextSeparator" />
  9718.                 </xsl:if>
  9719.  
  9720.                 <xsl:if test="string-length($item) > 0">
  9721.                     <xsl:value-of select = "$item" />
  9722.                 </xsl:if>
  9723.  
  9724.                 <xsl:call-template name="PrintList2">
  9725.                     <xsl:with-param name="list" select="$list" />
  9726.                     <xsl:with-param name="index" select="$index + 1" />
  9727.                     <xsl:with-param name="nextSeparator">
  9728.                         <xsl:choose>
  9729.                             <xsl:when test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  9730.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  9731.                             </xsl:when>
  9732.                             <xsl:otherwise>
  9733.                                 <xsl:value-of select="$nextSeparator" />
  9734.                             </xsl:otherwise>
  9735.                         </xsl:choose>
  9736.                     </xsl:with-param>
  9737.                     <xsl:with-param name="lastTextDisplayed">
  9738.                         <xsl:choose>
  9739.                             <xsl:when test="string-length($item) > 0">
  9740.                                 <xsl:value-of select="$item" />
  9741.                             </xsl:when>
  9742.                             <xsl:otherwise>
  9743.                                 <xsl:value-of select="$lastTextDisplayed" />
  9744.                             </xsl:otherwise>
  9745.                         </xsl:choose>
  9746.                     </xsl:with-param>
  9747.                 </xsl:call-template>                    
  9748.             </xsl:when>
  9749.             <xsl:when test="local-name(msxsl:node-set($list)/*/*[$index]) = 'GroupSeparator'">
  9750.                 <xsl:call-template name="PrintList2">
  9751.                     <xsl:with-param name="list" select="$list" />
  9752.                     <xsl:with-param name="index" select="$index + 1" />
  9753.                     <xsl:with-param name="nextSeparator">
  9754.                         <xsl:call-template name="templ_prop_GroupSeparator"/>
  9755.                     </xsl:with-param>
  9756.                     <xsl:with-param name="lastTextDisplayed" select="$lastTextDisplayed" />
  9757.                 </xsl:call-template>            
  9758.             </xsl:when>
  9759.             <xsl:when test="local-name(msxsl:node-set($list)/*/*[$index]) = 'CopyItem'">
  9760.                 <xsl:variable name="item">
  9761.                     <xsl:copy-of select="msxsl:node-set($list)/*/*[$index]" />
  9762.                 </xsl:variable>
  9763.  
  9764.                 <xsl:if test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  9765.                     <xsl:value-of select = "$nextSeparator" />
  9766.                 </xsl:if>
  9767.  
  9768.                 <xsl:if test="string-length($item) > 0">
  9769.                     <xsl:copy-of select = "msxsl:node-set($item)/*[1]" />
  9770.                 </xsl:if>
  9771.  
  9772.                 <xsl:call-template name="PrintList2">
  9773.                     <xsl:with-param name="list" select="$list" />
  9774.                     <xsl:with-param name="index" select="$index + 1" />
  9775.                     <xsl:with-param name="nextSeparator">
  9776.                         <xsl:choose>
  9777.                             <xsl:when test="string-length($item) > 0 and string-length($lastTextDisplayed) > 0">
  9778.                                 <xsl:call-template name="templ_prop_ListSeparator"/>
  9779.                             </xsl:when>
  9780.                             <xsl:otherwise>
  9781.                                 <xsl:value-of select="$nextSeparator" />
  9782.                             </xsl:otherwise>
  9783.                         </xsl:choose>
  9784.                     </xsl:with-param>
  9785.                     <xsl:with-param name="lastTextDisplayed">
  9786.                         <xsl:choose>
  9787.                             <xsl:when test="string-length(msxsl:node-set($item)/*[1]) > 0">
  9788.                                 <xsl:value-of select="msxsl:node-set($item)/*[1]" />
  9789.                             </xsl:when>
  9790.                             <xsl:otherwise>
  9791.                                 <xsl:value-of select="$lastTextDisplayed" />
  9792.                             </xsl:otherwise>
  9793.                         </xsl:choose>
  9794.                     </xsl:with-param>
  9795.                 </xsl:call-template>
  9796.             </xsl:when>
  9797.         </xsl:choose>
  9798.  
  9799.     </xsl:template>
  9800.  
  9801.     <xsl:template name="ApplyItalicTitleNS">
  9802.         <xsl:param name="data" />
  9803.  
  9804.         <xsl:variable name="prop_NoItalics">
  9805.           <xsl:call-template name="templ_prop_NoItalics"/>
  9806.         </xsl:variable>
  9807.  
  9808.         <xsl:choose>
  9809.             <xsl:when test = "$prop_NoItalics = 'yes'">
  9810.                 <xsl:variable name = "prop_TitleOpen">
  9811.                       <xsl:call-template name="templ_prop_TitleOpen"/>
  9812.                 </xsl:variable>
  9813.                 <xsl:variable name = "prop_TitleClose">
  9814.                       <xsl:call-template name="templ_prop_TitleClose"/>
  9815.                 </xsl:variable>
  9816.                 <xsl:variable name = "prop_OpenQuote">
  9817.                       <xsl:call-template name="templ_prop_OpenQuote"/>
  9818.                 </xsl:variable>
  9819.                 <xsl:variable name = "prop_CloseQuote">
  9820.                       <xsl:call-template name="templ_prop_CloseQuote"/>
  9821.                 </xsl:variable>
  9822.                 <xsl:choose>
  9823.                     <xsl:when test = "string-length($prop_TitleOpen) > 0 and string-length($prop_TitleClose) > 0 and string-length($prop_OpenQuote) > 0 and string-length($prop_CloseQuote) > 0 and 
  9824.                                   not(starts-with($data, $prop_TitleOpen) or (substring($data, string-length($data) - string-length($prop_TitleClose)) = $prop_TitleClose) or starts-with($data, $prop_OpenQuote) or (substring($data, string-length($data) - string-length($prop_CloseQuote)) = $prop_CloseQuote))">
  9825.                           <xsl:call-template name="templ_prop_TitleOpen"/>
  9826.                         <xsl:copy-of select="msxsl:node-set($data)" />
  9827.                         <xsl:call-template name="templ_prop_TitleClose"/>
  9828.                     </xsl:when>
  9829.                     <xsl:when test = "string-length($prop_TitleOpen) > 0 and string-length($prop_TitleClose) > 0 and 
  9830.                                   not(starts-with($data, $prop_TitleOpen) or (substring($data, string-length($data) - string-length($prop_TitleClose)) = $prop_TitleClose))">
  9831.                           <xsl:call-template name="templ_prop_TitleOpen"/>
  9832.                         <xsl:copy-of select="msxsl:node-set($data)" />
  9833.                         <xsl:call-template name="templ_prop_TitleClose"/>
  9834.                     </xsl:when>
  9835.                       <xsl:otherwise>
  9836.                         <xsl:copy-of select="msxsl:node-set($data)" />
  9837.                     </xsl:otherwise>
  9838.                 </xsl:choose>
  9839.             </xsl:when>
  9840.             <xsl:otherwise>
  9841.                 <i xmlns="http://www.w3.org/TR/REC-html40">
  9842.                     <xsl:copy-of select="msxsl:node-set($data)" />
  9843.                 </i>
  9844.             </xsl:otherwise>
  9845.         </xsl:choose>
  9846.     </xsl:template>
  9847.  
  9848.     <xsl:template name="ApplyItalicFieldNS">
  9849.         <xsl:param name="data" />
  9850.  
  9851.         <xsl:variable name="prop_NoItalics">
  9852.           <xsl:call-template name="templ_prop_NoItalics"/>
  9853.         </xsl:variable>
  9854.  
  9855.         <xsl:choose>
  9856.             <xsl:when test = "$prop_NoItalics = 'yes'">
  9857.                 <xsl:copy-of select="msxsl:node-set($data)" />
  9858.             </xsl:when>
  9859.             <xsl:otherwise>
  9860.                 <i xmlns="http://www.w3.org/TR/REC-html40">
  9861.                 <xsl:copy-of select="msxsl:node-set($data)" />
  9862.                 </i>
  9863.             </xsl:otherwise>
  9864.         </xsl:choose>
  9865.     </xsl:template>
  9866.     
  9867. </xsl:stylesheet>
  9868.